From 6924aa792388cc858ef9d309469f134c0d784d31 Mon Sep 17 00:00:00 2001 From: Mitchell Gale Date: Wed, 12 Jul 2023 01:43:22 -0700 Subject: [PATCH] Reverted end of file changes. Signed-off-by: Mitchell Gale --- core/src/main/java/org/opensearch/sql/ast/tree/RareTopN.java | 1 + .../java/org/opensearch/sql/expression/text/TextFunction.java | 1 + .../src/main/java/org/opensearch/sql/legacy/domain/Select.java | 3 ++- .../sql/legacy/executor/format/BindingTupleResultSet.java | 3 ++- .../java/org/opensearch/sql/legacy/parser/SQLOdbcExpr.java | 1 + .../sql/legacy/rewriter/nestedfield/NestedFieldRewriter.java | 1 + .../org/opensearch/sql/legacy/spatial/CellFilterParams.java | 1 + .../java/org/opensearch/sql/legacy/unittest/HavingTest.java | 1 + 8 files changed, 10 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/opensearch/sql/ast/tree/RareTopN.java b/core/src/main/java/org/opensearch/sql/ast/tree/RareTopN.java index 407d37e8e4..c884afd86a 100644 --- a/core/src/main/java/org/opensearch/sql/ast/tree/RareTopN.java +++ b/core/src/main/java/org/opensearch/sql/ast/tree/RareTopN.java @@ -57,3 +57,4 @@ public enum CommandType { RARE } } + diff --git a/core/src/main/java/org/opensearch/sql/expression/text/TextFunction.java b/core/src/main/java/org/opensearch/sql/expression/text/TextFunction.java index 0bbfb65154..e56c85a0c8 100644 --- a/core/src/main/java/org/opensearch/sql/expression/text/TextFunction.java +++ b/core/src/main/java/org/opensearch/sql/expression/text/TextFunction.java @@ -379,3 +379,4 @@ private static ExprValue exprReverse(ExprValue str) { return new ExprStringValue(new StringBuilder(str.stringValue()).reverse().toString()); } } + diff --git a/legacy/src/main/java/org/opensearch/sql/legacy/domain/Select.java b/legacy/src/main/java/org/opensearch/sql/legacy/domain/Select.java index c649045b14..8a6d3b265d 100644 --- a/legacy/src/main/java/org/opensearch/sql/legacy/domain/Select.java +++ b/legacy/src/main/java/org/opensearch/sql/legacy/domain/Select.java @@ -187,4 +187,5 @@ public boolean isOrderdSelect() { public boolean isSelectAll() { return selectAll; } -} \ No newline at end of file +} + diff --git a/legacy/src/main/java/org/opensearch/sql/legacy/executor/format/BindingTupleResultSet.java b/legacy/src/main/java/org/opensearch/sql/legacy/executor/format/BindingTupleResultSet.java index 655fc09acf..c3b5d2e84d 100644 --- a/legacy/src/main/java/org/opensearch/sql/legacy/executor/format/BindingTupleResultSet.java +++ b/legacy/src/main/java/org/opensearch/sql/legacy/executor/format/BindingTupleResultSet.java @@ -57,4 +57,5 @@ public static DataRows buildDataRows(List columnNodes, List hasScript(String expectedCode) { return hasFieldWithValue("script", "has script", is(new Script(expectedCode))); } } +