Skip to content

Commit fc5cdb8

Browse files
committed
Change
1 parent ab9e7ba commit fc5cdb8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

server/src/main/java/org/elasticsearch/index/mapper/DocumentParser.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
import org.elasticsearch.plugins.internal.XContentMeteringParserDecorator;
3131
import org.elasticsearch.search.lookup.SearchLookup;
3232
import org.elasticsearch.search.lookup.Source;
33-
import org.elasticsearch.xcontent.DeprecationHandler;
34-
import org.elasticsearch.xcontent.NamedXContentRegistry;
3533
import org.elasticsearch.xcontent.XContentBuilder;
3634
import org.elasticsearch.xcontent.XContentLocation;
3735
import org.elasticsearch.xcontent.XContentParseException;

server/src/main/java/org/elasticsearch/ingest/ESONXContentParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public XContentString optimizedText() throws IOException {
339339
streamInput.read(rawBytes);
340340
}
341341

342-
// TODO: Fix
342+
// TODO: Fix Length
343343
return new Text(new XContentString.UTF8Bytes(rawBytes, offset, length), length);
344344
}
345345

x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/EsqlSpecIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
1111

12+
import org.apache.lucene.tests.util.LuceneTestCase;
1213
import org.elasticsearch.client.Request;
1314
import org.elasticsearch.common.Strings;
1415
import org.elasticsearch.test.TestClustersThreadFilter;
@@ -25,6 +26,9 @@
2526

2627
import java.io.IOException;
2728

29+
@LuceneTestCase.AwaitsFix(
30+
bugUrl = "Because we convert to binary types we lose trailing 0 on decimals converted to keyword fields. Not sure if this is an issue."
31+
)
2832
@ThreadLeakFilters(filters = TestClustersThreadFilter.class)
2933
public class EsqlSpecIT extends EsqlSpecTestCase {
3034
@ClassRule

0 commit comments

Comments
 (0)