From b3bca7c43f53282e780a28cd996fa57e67055efb Mon Sep 17 00:00:00 2001 From: Yury Fridlyand Date: Mon, 6 Jun 2022 16:07:19 -0700 Subject: [PATCH] Remove commented code. Signed-off-by: Yury Fridlyand --- .../test/java/org/opensearch/sql/ppl/RelevanceFunctionIT.java | 2 -- ppl/src/main/antlr/OpenSearchPPLLexer.g4 | 2 -- 2 files changed, 4 deletions(-) diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/RelevanceFunctionIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/RelevanceFunctionIT.java index 323c56acaa..6add89f637 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/RelevanceFunctionIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/RelevanceFunctionIT.java @@ -26,8 +26,6 @@ public void test1() throws IOException { String query = "SOURCE=" + TEST_INDEX_BEER + " | WHERE simple_query_string([\\\"Tags\\\" ^ 1.5, Title, `Body` 4.2], 'taste')"; var result = executeQuery(query); - //verifyDataRows(result, rows(32)); - assertNotEquals(0, result.getInt("total")); } diff --git a/ppl/src/main/antlr/OpenSearchPPLLexer.g4 b/ppl/src/main/antlr/OpenSearchPPLLexer.g4 index 12a19fe5d2..401eec595d 100644 --- a/ppl/src/main/antlr/OpenSearchPPLLexer.g4 +++ b/ppl/src/main/antlr/OpenSearchPPLLexer.g4 @@ -144,7 +144,6 @@ BACKTICK: '`'; // Operators. Bit BIT_NOT_OP: '~'; -//BIT_OR_OP: '|'; BIT_AND_OP: '&'; BIT_XOR_OP: '^'; @@ -302,7 +301,6 @@ QUOTE_FIELD_SUFFIX: 'QUOTE_FIELD_SUFFIX'; REWRITE: 'REWRITE'; SLOP: 'SLOP'; TIE_BREAKER: 'TIE_BREAKER'; -//TIME_ZONE: 'TIME_ZONE'; // already defined on line 63 TYPE: 'TYPE'; ZERO_TERMS_QUERY: 'ZERO_TERMS_QUERY';