Skip to content

Commit 5da39d2

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 3a032df commit 5da39d2

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/predicate/Range.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,7 @@ private RangeQuery translate(TranslatorHandler handler) {
217217
String format = null;
218218

219219
DataType dataType = value.dataType();
220-
logger.trace(
221-
"Translating Range into lucene query. dataType is [{}] upper is [{}] lower is [{}]",
222-
dataType,
223-
lower,
224-
upper
225-
);
220+
logger.trace("Translating Range into lucene query. dataType is [{}] upper is [{}] lower is [{}]", dataType, lower, upper);
226221
if (dataType == DataType.DATETIME && lower.dataType() == DATETIME && upper.dataType() == DATETIME) {
227222
l = dateTimeToString((Long) l);
228223
u = dateTimeToString((Long) u);

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/predicate/operator/comparison/EsqlBinaryComparison.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,12 @@ private Query translate(TranslatorHandler handler) {
384384

385385
logger.trace(
386386
"Translating binary comparison with right: [{}<{}>], left: [{}<{}>], attribute: [{}<{}>]",
387-
right(),
388-
right().dataType(),
389-
left(),
390-
left().dataType(),
391-
attribute,
392-
attribute.dataType()
387+
right(),
388+
right().dataType(),
389+
left(),
390+
left().dataType(),
391+
attribute,
392+
attribute.dataType()
393393
);
394394

395395
// TODO: This type coersion layer is copied directly from the QL counterpart code. It's probably not necessary or desireable

0 commit comments

Comments
 (0)