Skip to content

Commit edfc81a

Browse files
committed
Fix spotless check
Signed-off-by: Songkan Tang <songkant@amazon.com>
1 parent 638d51e commit edfc81a

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1969,7 +1969,6 @@ public void testAliasTypeField() throws IOException {
19691969
TEST_INDEX_ALIAS)));
19701970
}
19711971

1972-
19731972
@Test
19741973
public void testAD() throws IOException {
19751974
String expected = loadExpectedPlan("ad.yaml");

opensearch/src/main/java/org/opensearch/sql/opensearch/storage/ml/ADEnumerableRuntime.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
import org.opensearch.transport.client.node.NodeClient;
4545

4646
/**
47-
* Enumerable AD operator runtime method to collect all rows of input enumerator, call
48-
* ml-commons node client API to train and predict ad result and then form new operator
49-
* enumerator for downstream operators.
47+
* Enumerable AD operator runtime method to collect all rows of input enumerator, call ml-commons
48+
* node client API to train and predict ad result and then form new operator enumerator for
49+
* downstream operators.
5050
*/
5151
public class ADEnumerableRuntime {
5252

ppl/src/test/java/org/opensearch/sql/ppl/calcite/CalcitePPLAdTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ public void testAdWithCategory() {
4141

4242
@Test
4343
public void testAdWithOtherParameters() {
44-
String ppl = "source=EMP | where SAL < 10 | fields JOB, SAL, DEPTNO | AD category_field='JOB' time_field='DEPTNO' sample_size=10";
44+
String ppl =
45+
"source=EMP | where SAL < 10 | fields JOB, SAL, DEPTNO | AD category_field='JOB'"
46+
+ " time_field='DEPTNO' sample_size=10";
4547
RelNode root = getRelNode(ppl);
4648
String expectedLogical =
4749
"LogicalAD(arguments=[{time_field=DEPTNO, sample_size=10, category_field=JOB}])\n"

0 commit comments

Comments
 (0)