Skip to content

Instantly share code, notes, and snippets.

9999 88554519
10000 50371270
10001 38541319
10002 39801368
10003 105265018
10004 75872406
10005 76313387
10006 34805274
10007 32499921
10008 107037209
commit d3b9d0f11cdaf9d21a08fcad85d43fe2ffcb72ab
Author: Nik Everett <nik9000@gmail.com>
Date: Mon Feb 28 14:45:33 2022 -0500
Hack?
diff --git a/libs/x-content/impl/.gitignore b/libs/x-content/impl/.gitignore
new file mode 100644
index 00000000000..39a06683b73
--- /dev/null
diff --git a/libs/x-content/src/main/java/org/elasticsearch/xcontent/internal/ProviderLocator.java b/libs/x-content/src/main/java/org/elasticsearch/xcontent/internal/ProviderLocator.java
index 07839e6d815..8a8a8db1ae7 100644
--- a/libs/x-content/src/main/java/org/elasticsearch/xcontent/internal/ProviderLocator.java
+++ b/libs/x-content/src/main/java/org/elasticsearch/xcontent/internal/ProviderLocator.java
@@ -26,12 +26,16 @@ import java.nio.file.Path;
import java.security.AccessController;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
+import java.util.ArrayList;
import java.util.Arrays;
java.lang.NoClassDefFoundError: MappedFieldType
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3402)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2504)
at com.carrotsearch.randomizedtesting.ClassModel$3.members(ClassModel.java:215)
at com.carrotsearch.randomizedtesting.ClassModel$3.members(ClassModel.java:212)
at com.carrotsearch.randomizedtesting.ClassModel$ModelBuilder.build(ClassModel.java:85)
at com.carrotsearch.randomizedtesting.ClassModel.methodsModel(ClassModel.java:224)
at com.carrotsearch.randomizedtesting.ClassModel.<init>(ClassModel.java:207)
at com.carrotsearch.randomizedtesting.RandomizedRunner.<init>(RandomizedRunner.java:321)
java.lang.ExceptionInInitializerError
at __randomizedtesting.SeedInfo.seed([61A82060788B4636:5BB4AD9B01473B0A]:0)
at org.elasticsearch.xcontent.spi.XContentProvider.provider(XContentProvider.java:75)
at org.elasticsearch.xcontent.json.JsonXContent.<clinit>(JsonXContent.java:22)
at org.elasticsearch.xcontent.XContentFactory.xContentType(XContentFactory.java:285)
at org.elasticsearch.xcontent.XContentFactory.xContentType(XContentFactory.java:266)
at org.elasticsearch.xcontent.internal.CborTests.testCBORBasedOnMajorObjectDetection(CborTests.java:27)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@nik9000
nik9000 / patch.path
Created September 10, 2021 22:17
path.patch
diff --git a/src/main/java/com/fasterxml/jackson/core/filter/TokenFilter.java b/src/main/java/com/fasterxml/jackson/core/filter/TokenFilter.java
index 3e747491..468bf25c 100644
--- a/src/main/java/com/fasterxml/jackson/core/filter/TokenFilter.java
+++ b/src/main/java/com/fasterxml/jackson/core/filter/TokenFilter.java
@@ -432,6 +432,14 @@ public class TokenFilter
return _includeScalar();
}
+ public boolean includeEmptyArray(boolean contentsFiltered) {
+ return false;
{
"metricset": { "properies": {
"name": {
"type": "keyword",
"dimension": { "order": 1 }
}
}},
"kubernetes": { "properties": {
"pod": {
"name": {
------------------------------------------------------
_______ __ _____
/ ____(_)___ ____ _/ / / ___/_________ ________
/ /_ / / __ \/ __ `/ / \__ \/ ___/ __ \/ ___/ _ \
/ __/ / / / / / /_/ / / ___/ / /__/ /_/ / / / __/
/_/ /_/_/ /_/\__,_/_/ /____/\___/\____/_/ \___/
------------------------------------------------------
| Metric | Task | Value | Unit |
|---------------------------------------------------------------:|-------------------------------------------------------:|------------:|--------:|
diff --git a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/50_order_by.yml b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/50_order_by.yml
new file mode 100644
index 0000000000000..f730d3f9e1261
--- /dev/null
+++ b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/50_order_by.yml
@@ -0,0 +1,229 @@
+---
+"order by sub agg containing join":
+ - do:
+ indices.create:
diff --git a/plugins/repository-azure/build.gradle b/plugins/repository-azure/build.gradle
index a810d982ea0..de61f3a3119 100644
--- a/plugins/repository-azure/build.gradle
+++ b/plugins/repository-azure/build.gradle
@@ -260,16 +260,51 @@ tasks.named("thirdPartyAudit").configure {
'org.slf4j.impl.StaticLoggerBinder',
'org.slf4j.impl.StaticMDCBinder',
'org.slf4j.impl.StaticMarkerBinder',
-
- 'java.lang.StackWalker',