From 90003149f3b19a466c1a6843aa20d9fd92dd3423 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 29 Jan 2025 14:22:50 -0800 Subject: [PATCH 01/12] Clean up syntax error reporting Signed-off-by: Simeon Widdis --- .../antlr/SyntaxAnalysisErrorListener.java | 53 +++++++++++++------ 1 file changed, 36 insertions(+), 17 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index 76cbf52d583..7e435a43443 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -5,12 +5,10 @@ package org.opensearch.sql.common.antlr; +import java.util.ArrayList; +import java.util.List; import java.util.Locale; -import org.antlr.v4.runtime.BaseErrorListener; -import org.antlr.v4.runtime.CommonTokenStream; -import org.antlr.v4.runtime.RecognitionException; -import org.antlr.v4.runtime.Recognizer; -import org.antlr.v4.runtime.Token; +import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.misc.IntervalSet; /** @@ -18,6 +16,10 @@ * information. */ public class SyntaxAnalysisErrorListener extends BaseErrorListener { + // Show the up to this many characters before the offending token in the query. + private static final int CONTEXT_TRUNCATION_THRESHOLD = 20; + // Avoid presenting too many alternatives when many are available. + private static final int SUGGESTION_TRUNCATION_THRESHOLD = 5; @Override public void syntaxError( @@ -35,8 +37,7 @@ public void syntaxError( throw new SyntaxCheckException( String.format( Locale.ROOT, - "Failed to parse query due to offending symbol [%s] " - + "at: '%s' <--- HERE... More details: %s", + "[%s] is not a valid term at this part of the query: '%s' <-- HERE. %s", getOffendingText(offendingToken), truncateQueryAtOffendingToken(query, offendingToken), getDetails(recognizer, msg, e))); @@ -47,21 +48,39 @@ private String getOffendingText(Token offendingToken) { } private String truncateQueryAtOffendingToken(String query, Token offendingToken) { - return query.substring(0, offendingToken.getStopIndex() + 1); + int contextStart = offendingToken.getStartIndex() - CONTEXT_TRUNCATION_THRESHOLD; + if (offendingToken.getStartIndex() - CONTEXT_TRUNCATION_THRESHOLD <= 3) { + return query.substring(0, offendingToken.getStopIndex() + 1); + } + return "..." + query.substring(contextStart, offendingToken.getStopIndex() + 1); } - /** - * As official JavaDoc says, e=null means parser was able to recover from the error. In other - * words, "msg" argument includes the information we want. - */ private String getDetails(Recognizer recognizer, String msg, RecognitionException e) { - String details; if (e == null) { - details = msg; + // As official ANTLR says, e=null means parser was able to recover from the error. + // In such cases, `msg` includes the raw error information we care about. + return msg; + } + + IntervalSet followSet = e.getExpectedTokens(); + Vocabulary vocab = recognizer.getVocabulary(); + List tokenNames = new ArrayList<>(followSet.size()); + for (int tokenType : followSet.toList()) { + tokenNames.add(vocab.getDisplayName(tokenType)); + } + + StringBuilder details = new StringBuilder("Expecting "); + if (tokenNames.size() > SUGGESTION_TRUNCATION_THRESHOLD) { + details.append("one of ").append(tokenNames.size()).append(" possible tokens. "); + details.append("Some examples: "); + for (int i = 0; i < SUGGESTION_TRUNCATION_THRESHOLD; i++) { + if (i > 0) details.append(", "); + details.append(tokenNames.get(i)); + } + details.append(", ..."); } else { - IntervalSet followSet = e.getExpectedTokens(); - details = "Expecting tokens in " + followSet.toString(recognizer.getVocabulary()); + details.append("tokens: ").append(String.join(", ", tokenNames)); } - return details; + return details.toString(); } } From 66424759220ee3f1b75c8f8d7ea6f4c6bffec261 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 29 Jan 2025 14:30:34 -0800 Subject: [PATCH 02/12] Reuse contextStartIndex variable Signed-off-by: Simeon Widdis --- .../sql/common/antlr/SyntaxAnalysisErrorListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index 7e435a43443..a47f6a98b67 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -48,11 +48,11 @@ private String getOffendingText(Token offendingToken) { } private String truncateQueryAtOffendingToken(String query, Token offendingToken) { - int contextStart = offendingToken.getStartIndex() - CONTEXT_TRUNCATION_THRESHOLD; - if (offendingToken.getStartIndex() - CONTEXT_TRUNCATION_THRESHOLD <= 3) { + int contextStartIndex = offendingToken.getStartIndex() - CONTEXT_TRUNCATION_THRESHOLD; + if (contextStartIndex < 3) { // The ellipses won't save us anything below the first 4 characters return query.substring(0, offendingToken.getStopIndex() + 1); } - return "..." + query.substring(contextStart, offendingToken.getStopIndex() + 1); + return "..." + query.substring(contextStartIndex, offendingToken.getStopIndex() + 1); } private String getDetails(Recognizer recognizer, String msg, RecognitionException e) { From b12a37dbc4d754da7a7e9cd75c060b50924a0b70 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 29 Jan 2025 14:40:18 -0800 Subject: [PATCH 03/12] Update tests for new error message Signed-off-by: Simeon Widdis --- docs/user/dql/troubleshooting.rst | 16 ++++++++-------- .../opensearch/sql/ppl/DescribeCommandIT.java | 2 +- .../org/opensearch/sql/ppl/QueryAnalysisIT.java | 8 ++++---- .../org/opensearch/sql/ppl/SearchCommandIT.java | 2 +- .../sql/ppl/antlr/PPLSyntaxParserTest.java | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/user/dql/troubleshooting.rst b/docs/user/dql/troubleshooting.rst index b57479c3742..20a9f0e5313 100644 --- a/docs/user/dql/troubleshooting.rst +++ b/docs/user/dql/troubleshooting.rst @@ -25,9 +25,9 @@ Query: .. code-block:: JSON - POST /_plugins/_sql + POST /_plugins/_ppl { - "query" : "SELECT * FROM sample:data" + "query" : "SOURCE = test_index | where a > 0)" } Result: @@ -35,12 +35,12 @@ Result: .. code-block:: JSON { - "reason": "Invalid SQL query", - "details": "Failed to parse query due to offending symbol [:] at: 'SELECT * FROM xxx WHERE xxx:' <--- HERE... - More details: Expecting tokens in {, 'AND', 'BETWEEN', 'GROUP', 'HAVING', 'IN', 'IS', 'LIKE', 'LIMIT', - 'NOT', 'OR', 'ORDER', 'REGEXP', '*', '/', '%', '+', '-', 'DIV', 'MOD', '=', '>', '<', '!', - '|', '&', '^', '.', DOT_ID}", - "type": "SyntaxAnalysisException" + "error": { + "reason": "Invalid Query", + "details": "[)] is not a valid term at this part of the query: '..._index | where a > 0)' <-- HERE. extraneous input ')' expecting ", + "type": "SyntaxCheckException" + }, + "status": 400 } **Workaround** diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java index aee32e08d1a..9af6b1a9a70 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java @@ -80,7 +80,7 @@ public void describeCommandWithoutIndexShouldFailToParse() throws IOException { fail(); } catch (ResponseException e) { assertTrue(e.getMessage().contains("RuntimeException")); - assertTrue(e.getMessage().contains("Failed to parse query due to offending symbol")); + assertTrue(e.getMessage().contains("is not a valid term at this part of the query")); } } } diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java index 80a89ed9c3d..2892967be73 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java @@ -82,25 +82,25 @@ public void queryShouldBeCaseInsensitiveInKeywords() { @Test public void queryNotStartingWithSearchCommandShouldFailSyntaxCheck() { String query = "fields firstname"; - queryShouldThrowSyntaxException(query, "Failed to parse query due to offending symbol"); + queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); } @Test public void queryWithIncorrectCommandShouldFailSyntaxCheck() { String query = String.format("search source=%s | field firstname", TEST_INDEX_ACCOUNT); - queryShouldThrowSyntaxException(query, "Failed to parse query due to offending symbol"); + queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); } @Test public void queryWithIncorrectKeywordsShouldFailSyntaxCheck() { String query = String.format("search sources=%s", TEST_INDEX_ACCOUNT); - queryShouldThrowSyntaxException(query, "Failed to parse query due to offending symbol"); + queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); } @Test public void unsupportedAggregationFunctionShouldFailSyntaxCheck() { String query = String.format("search source=%s | stats range(age)", TEST_INDEX_ACCOUNT); - queryShouldThrowSyntaxException(query, "Failed to parse query due to offending symbol"); + queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); } /** Commands that fail semantic analysis should throw {@link SemanticCheckException}. */ diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java index 5d1b0203d73..e91a255b8cd 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java @@ -64,7 +64,7 @@ public void searchCommandWithoutSourceShouldFailToParse() throws IOException { fail(); } catch (ResponseException e) { assertTrue(e.getMessage().contains("RuntimeException")); - assertTrue(e.getMessage().contains("Failed to parse query due to offending symbol")); + assertTrue(e.getMessage().contains("is not a valid term at this part of the query")); } } } diff --git a/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java b/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java index 2645be3aca4..09c67ebf243 100644 --- a/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java +++ b/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java @@ -95,7 +95,7 @@ public void testSearchFieldsCommandCrossClusterShouldPass() { @Test public void testSearchCommandWithoutSourceShouldFail() { exceptionRule.expect(RuntimeException.class); - exceptionRule.expectMessage("Failed to parse query due to offending symbol"); + exceptionRule.expectMessage("is not a valid term at this part of the query"); new PPLSyntaxParser().parse("search a=1"); } @@ -337,7 +337,7 @@ public void testDescribeFieldsCommandShouldPass() { @Test public void testDescribeCommandWithSourceShouldFail() { exceptionRule.expect(RuntimeException.class); - exceptionRule.expectMessage("Failed to parse query due to offending symbol"); + exceptionRule.expectMessage("is not a valid term at this part of the query"); new PPLSyntaxParser().parse("describe source=t"); } From a47be17545281226faa12cefbcdf75755d3c2bef Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 29 Jan 2025 14:45:59 -0800 Subject: [PATCH 04/12] Update a comment Signed-off-by: Simeon Widdis --- .../sql/common/antlr/SyntaxAnalysisErrorListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index a47f6a98b67..46fd29c2c67 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -16,7 +16,7 @@ * information. */ public class SyntaxAnalysisErrorListener extends BaseErrorListener { - // Show the up to this many characters before the offending token in the query. + // Show up to this many characters before the offending token in the query. private static final int CONTEXT_TRUNCATION_THRESHOLD = 20; // Avoid presenting too many alternatives when many are available. private static final int SUGGESTION_TRUNCATION_THRESHOLD = 5; @@ -57,7 +57,7 @@ private String truncateQueryAtOffendingToken(String query, Token offendingToken) private String getDetails(Recognizer recognizer, String msg, RecognitionException e) { if (e == null) { - // As official ANTLR says, e=null means parser was able to recover from the error. + // According to the ANTLR docs, e == null means the parser was able to recover from the error. // In such cases, `msg` includes the raw error information we care about. return msg; } From 13a548d68f2a44be96c833b7e8f5e1e22815d0f1 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Tue, 4 Feb 2025 09:14:28 -0800 Subject: [PATCH 05/12] Simplify details construction Signed-off-by: Simeon Widdis --- .../antlr/SyntaxAnalysisErrorListener.java | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index 46fd29c2c67..ef4bebc6d03 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -64,20 +64,22 @@ private String getDetails(Recognizer recognizer, String msg, RecognitionEx IntervalSet followSet = e.getExpectedTokens(); Vocabulary vocab = recognizer.getVocabulary(); - List tokenNames = new ArrayList<>(followSet.size()); - for (int tokenType : followSet.toList()) { + List tokenNames = new ArrayList<>(SUGGESTION_TRUNCATION_THRESHOLD); + for (int tokenType : + followSet + .toList() + .subList(0, Math.min(followSet.size(), SUGGESTION_TRUNCATION_THRESHOLD))) { tokenNames.add(vocab.getDisplayName(tokenType)); } StringBuilder details = new StringBuilder("Expecting "); - if (tokenNames.size() > SUGGESTION_TRUNCATION_THRESHOLD) { - details.append("one of ").append(tokenNames.size()).append(" possible tokens. "); - details.append("Some examples: "); - for (int i = 0; i < SUGGESTION_TRUNCATION_THRESHOLD; i++) { - if (i > 0) details.append(", "); - details.append(tokenNames.get(i)); - } - details.append(", ..."); + if (followSet.size() > SUGGESTION_TRUNCATION_THRESHOLD) { + details + .append("one of ") + .append(tokenNames.size()) + .append(" possible tokens. Some examples: ") + .append(String.join(", ", tokenNames)) + .append(", ..."); } else { details.append("tokens: ").append(String.join(", ", tokenNames)); } From f1d6eabfa3cb86cc70ef5d9e87f24b5bfc85fef7 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Tue, 11 Feb 2025 13:09:28 -0800 Subject: [PATCH 06/12] Apply feedback: clean up suggestion extraction Signed-off-by: Simeon Widdis --- .../antlr/SyntaxAnalysisErrorListener.java | 39 ++++++++++++------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index ef4bebc6d03..2cf5e9674bd 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -8,7 +8,13 @@ import java.util.ArrayList; import java.util.List; import java.util.Locale; -import org.antlr.v4.runtime.*; + +import org.antlr.v4.runtime.BaseErrorListener; +import org.antlr.v4.runtime.CommonTokenStream; +import org.antlr.v4.runtime.Recognizer; +import org.antlr.v4.runtime.Token; +import org.antlr.v4.runtime.Vocabulary; +import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.misc.IntervalSet; /** @@ -55,33 +61,38 @@ private String truncateQueryAtOffendingToken(String query, Token offendingToken) return "..." + query.substring(contextStartIndex, offendingToken.getStopIndex() + 1); } - private String getDetails(Recognizer recognizer, String msg, RecognitionException e) { - if (e == null) { - // According to the ANTLR docs, e == null means the parser was able to recover from the error. - // In such cases, `msg` includes the raw error information we care about. - return msg; - } - + private List topSuggestions(Recognizer recognizer, RecognitionException e) { IntervalSet followSet = e.getExpectedTokens(); Vocabulary vocab = recognizer.getVocabulary(); List tokenNames = new ArrayList<>(SUGGESTION_TRUNCATION_THRESHOLD); for (int tokenType : - followSet - .toList() - .subList(0, Math.min(followSet.size(), SUGGESTION_TRUNCATION_THRESHOLD))) { + followSet + .toList() + .subList(0, Math.min(followSet.size(), SUGGESTION_TRUNCATION_THRESHOLD))) { tokenNames.add(vocab.getDisplayName(tokenType)); } + return tokenNames; + } + + private String getDetails(Recognizer recognizer, String msg, RecognitionException ex) { + if (e == null) { + // According to the ANTLR docs, e == null means the parser was able to recover from the error. + // In such cases, `msg` includes the raw error information we care about. + return msg; + } + + List suggestions = topSuggestions(recognizer, ex); StringBuilder details = new StringBuilder("Expecting "); if (followSet.size() > SUGGESTION_TRUNCATION_THRESHOLD) { details .append("one of ") - .append(tokenNames.size()) + .append(suggestions.size()) .append(" possible tokens. Some examples: ") - .append(String.join(", ", tokenNames)) + .append(String.join(", ", suggestions)) .append(", ..."); } else { - details.append("tokens: ").append(String.join(", ", tokenNames)); + details.append("tokens: ").append(String.join(", ", suggestions)); } return details.toString(); } From 109b39c245029bbb659430d06080e6336cad0032 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Tue, 11 Feb 2025 13:11:17 -0800 Subject: [PATCH 07/12] Apply feedback: clean up suggestion extraction Signed-off-by: Simeon Widdis --- .../antlr/SyntaxAnalysisErrorListener.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index 2cf5e9674bd..a8db176c330 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -61,30 +61,30 @@ private String truncateQueryAtOffendingToken(String query, Token offendingToken) return "..." + query.substring(contextStartIndex, offendingToken.getStopIndex() + 1); } - private List topSuggestions(Recognizer recognizer, RecognitionException e) { - IntervalSet followSet = e.getExpectedTokens(); + private List topSuggestions(Recognizer recognizer, IntervalSet continuations) { Vocabulary vocab = recognizer.getVocabulary(); List tokenNames = new ArrayList<>(SUGGESTION_TRUNCATION_THRESHOLD); for (int tokenType : - followSet + continuations .toList() - .subList(0, Math.min(followSet.size(), SUGGESTION_TRUNCATION_THRESHOLD))) { + .subList(0, Math.min(continuations.size(), SUGGESTION_TRUNCATION_THRESHOLD))) { tokenNames.add(vocab.getDisplayName(tokenType)); } return tokenNames; } private String getDetails(Recognizer recognizer, String msg, RecognitionException ex) { - if (e == null) { - // According to the ANTLR docs, e == null means the parser was able to recover from the error. + if (ex == null) { + // According to the ANTLR docs, ex == null means the parser was able to recover from the error. // In such cases, `msg` includes the raw error information we care about. return msg; } - List suggestions = topSuggestions(recognizer, ex); + IntervalSet possibleContinuations = ex.getExpectedTokens(); + List suggestions = topSuggestions(recognizer, possibleContinuations); StringBuilder details = new StringBuilder("Expecting "); - if (followSet.size() > SUGGESTION_TRUNCATION_THRESHOLD) { + if (possibleContinuations.size() > SUGGESTION_TRUNCATION_THRESHOLD) { details .append("one of ") .append(suggestions.size()) From 4f3a69b10431d482c94f12c10b29ef5f6f30c5a9 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Tue, 11 Feb 2025 13:15:58 -0800 Subject: [PATCH 08/12] Apply feedback: move exception fragment to const Signed-off-by: Simeon Widdis --- integ-test/reports/report_2024-12-14-00.json | 1299 +++++++++++++++++ integ-test/reports/report_2024-12-19-16.json | 1299 +++++++++++++++++ integ-test/reports/report_2024-12-19-17.json | 1299 +++++++++++++++++ ...62-\333\261\333\271-\333\261\333\267.json" | 1299 +++++++++++++++++ ...340\245\257-\340\245\247\340\245\255.json" | 1299 +++++++++++++++++ .../opensearch/sql/legacy/TestsConstants.java | 2 + .../opensearch/sql/ppl/DescribeCommandIT.java | 3 +- .../opensearch/sql/ppl/QueryAnalysisIT.java | 10 +- .../opensearch/sql/ppl/SearchCommandIT.java | 5 +- 9 files changed, 6506 insertions(+), 9 deletions(-) create mode 100644 integ-test/reports/report_2024-12-14-00.json create mode 100644 integ-test/reports/report_2024-12-19-16.json create mode 100644 integ-test/reports/report_2024-12-19-17.json create mode 100644 "integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" create mode 100644 "integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" diff --git a/integ-test/reports/report_2024-12-14-00.json b/integ-test/reports/report_2024-12-14-00.json new file mode 100644 index 00000000000..4364e104bb7 --- /dev/null +++ b/integ-test/reports/report_2024-12-14-00.json @@ -0,0 +1,1299 @@ +{ + "summary": { + "total": 215, + "success": 0, + "failure": 215 + }, + "tests": [ + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 1, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 2, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 3, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 4, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 5, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 6, + "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 7, + "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 8, + "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 9, + "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 10, + "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 11, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 12, + "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 13, + "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 14, + "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 15, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 16, + "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 17, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 18, + "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 19, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 20, + "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 21, + "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 22, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 23, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 24, + "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 25, + "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 26, + "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 27, + "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 28, + "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 29, + "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 30, + "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 31, + "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 32, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 33, + "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 34, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 35, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 36, + "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 37, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 38, + "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 39, + "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 40, + "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 41, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 42, + "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 43, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 44, + "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 45, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 46, + "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 47, + "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 48, + "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 49, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 50, + "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 51, + "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 52, + "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 53, + "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 54, + "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 55, + "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 56, + "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 57, + "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 58, + "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 59, + "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 60, + "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 61, + "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 62, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 63, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 64, + "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 65, + "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 66, + "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 67, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 68, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 69, + "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 70, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 71, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 72, + "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 73, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 74, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 75, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 76, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 77, + "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 78, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 79, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 80, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 81, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 82, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 83, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 84, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 85, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 86, + "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 87, + "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 88, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 89, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 90, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 91, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 92, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 93, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 94, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 95, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 96, + "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 97, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 98, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 99, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 100, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 101, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 102, + "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 103, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 104, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 105, + "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 106, + "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 107, + "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 108, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 109, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 110, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 111, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 112, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 113, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 114, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 115, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 116, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 117, + "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 118, + "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 119, + "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 120, + "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 121, + "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 122, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 123, + "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 124, + "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 125, + "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 126, + "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 127, + "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 128, + "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 129, + "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 130, + "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 131, + "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 132, + "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 133, + "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 134, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 135, + "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 136, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 137, + "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 138, + "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 139, + "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 140, + "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 141, + "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 142, + "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 143, + "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 144, + "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 145, + "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 146, + "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 147, + "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 148, + "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 149, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 150, + "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 151, + "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 152, + "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 153, + "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 154, + "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 155, + "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 156, + "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 157, + "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 158, + "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 159, + "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 160, + "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 161, + "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 162, + "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 163, + "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 164, + "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 165, + "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 166, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 167, + "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 168, + "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 169, + "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 170, + "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 171, + "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 172, + "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 173, + "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 174, + "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 175, + "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 176, + "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 177, + "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 178, + "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 179, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 180, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 181, + "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 182, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 183, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 184, + "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 185, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 186, + "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 187, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 188, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 189, + "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 190, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 191, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 192, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 193, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 194, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 195, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 196, + "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 197, + "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 198, + "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 199, + "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 200, + "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 201, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 202, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 203, + "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 204, + "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 205, + "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 206, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 207, + "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 208, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 209, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 210, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 211, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 212, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 213, + "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 214, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 215, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + } + ] +} \ No newline at end of file diff --git a/integ-test/reports/report_2024-12-19-16.json b/integ-test/reports/report_2024-12-19-16.json new file mode 100644 index 00000000000..4364e104bb7 --- /dev/null +++ b/integ-test/reports/report_2024-12-19-16.json @@ -0,0 +1,1299 @@ +{ + "summary": { + "total": 215, + "success": 0, + "failure": 215 + }, + "tests": [ + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 1, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 2, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 3, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 4, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 5, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 6, + "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 7, + "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 8, + "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 9, + "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 10, + "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 11, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 12, + "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 13, + "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 14, + "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 15, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 16, + "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 17, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 18, + "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 19, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 20, + "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 21, + "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 22, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 23, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 24, + "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 25, + "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 26, + "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 27, + "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 28, + "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 29, + "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 30, + "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 31, + "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 32, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 33, + "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 34, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 35, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 36, + "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 37, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 38, + "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 39, + "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 40, + "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 41, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 42, + "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 43, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 44, + "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 45, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 46, + "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 47, + "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 48, + "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 49, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 50, + "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 51, + "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 52, + "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 53, + "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 54, + "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 55, + "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 56, + "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 57, + "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 58, + "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 59, + "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 60, + "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 61, + "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 62, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 63, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 64, + "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 65, + "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 66, + "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 67, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 68, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 69, + "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 70, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 71, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 72, + "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 73, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 74, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 75, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 76, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 77, + "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 78, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 79, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 80, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 81, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 82, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 83, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 84, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 85, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 86, + "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 87, + "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 88, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 89, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 90, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 91, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 92, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 93, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 94, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 95, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 96, + "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 97, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 98, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 99, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 100, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 101, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 102, + "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 103, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 104, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 105, + "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 106, + "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 107, + "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 108, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 109, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 110, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 111, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 112, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 113, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 114, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 115, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 116, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 117, + "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 118, + "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 119, + "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 120, + "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 121, + "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 122, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 123, + "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 124, + "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 125, + "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 126, + "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 127, + "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 128, + "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 129, + "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 130, + "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 131, + "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 132, + "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 133, + "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 134, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 135, + "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 136, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 137, + "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 138, + "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 139, + "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 140, + "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 141, + "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 142, + "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 143, + "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 144, + "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 145, + "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 146, + "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 147, + "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 148, + "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 149, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 150, + "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 151, + "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 152, + "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 153, + "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 154, + "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 155, + "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 156, + "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 157, + "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 158, + "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 159, + "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 160, + "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 161, + "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 162, + "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 163, + "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 164, + "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 165, + "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 166, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 167, + "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 168, + "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 169, + "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 170, + "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 171, + "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 172, + "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 173, + "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 174, + "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 175, + "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 176, + "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 177, + "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 178, + "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 179, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 180, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 181, + "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 182, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 183, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 184, + "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 185, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 186, + "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 187, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 188, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 189, + "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 190, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 191, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 192, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 193, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 194, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 195, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 196, + "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 197, + "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 198, + "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 199, + "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 200, + "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 201, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 202, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 203, + "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 204, + "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 205, + "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 206, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 207, + "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 208, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 209, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 210, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 211, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 212, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 213, + "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 214, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 215, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + } + ] +} \ No newline at end of file diff --git a/integ-test/reports/report_2024-12-19-17.json b/integ-test/reports/report_2024-12-19-17.json new file mode 100644 index 00000000000..4364e104bb7 --- /dev/null +++ b/integ-test/reports/report_2024-12-19-17.json @@ -0,0 +1,1299 @@ +{ + "summary": { + "total": 215, + "success": 0, + "failure": 215 + }, + "tests": [ + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 1, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 2, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 3, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 4, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 5, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 6, + "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 7, + "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 8, + "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 9, + "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 10, + "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 11, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 12, + "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 13, + "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 14, + "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 15, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 16, + "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 17, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 18, + "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 19, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 20, + "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 21, + "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 22, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 23, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 24, + "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 25, + "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 26, + "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 27, + "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 28, + "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 29, + "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 30, + "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 31, + "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 32, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 33, + "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 34, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 35, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 36, + "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 37, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 38, + "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 39, + "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 40, + "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 41, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 42, + "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 43, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 44, + "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 45, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 46, + "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 47, + "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 48, + "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 49, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 50, + "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 51, + "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 52, + "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 53, + "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 54, + "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 55, + "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 56, + "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 57, + "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 58, + "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 59, + "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 60, + "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 61, + "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 62, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 63, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 64, + "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 65, + "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 66, + "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 67, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 68, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 69, + "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 70, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 71, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 72, + "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 73, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 74, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 75, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 76, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 77, + "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 78, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 79, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 80, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 81, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 82, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 83, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 84, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 85, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 86, + "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 87, + "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 88, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 89, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 90, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 91, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 92, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 93, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 94, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 95, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 96, + "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 97, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 98, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 99, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 100, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 101, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 102, + "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 103, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 104, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 105, + "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 106, + "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 107, + "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 108, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 109, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 110, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 111, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 112, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 113, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 114, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 115, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 116, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 117, + "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 118, + "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 119, + "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 120, + "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 121, + "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 122, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 123, + "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 124, + "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 125, + "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 126, + "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 127, + "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 128, + "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 129, + "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 130, + "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 131, + "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 132, + "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 133, + "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 134, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 135, + "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 136, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 137, + "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 138, + "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 139, + "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 140, + "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 141, + "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 142, + "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 143, + "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 144, + "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 145, + "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 146, + "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 147, + "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 148, + "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 149, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 150, + "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 151, + "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 152, + "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 153, + "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 154, + "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 155, + "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 156, + "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 157, + "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 158, + "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 159, + "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 160, + "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 161, + "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 162, + "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 163, + "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 164, + "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 165, + "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 166, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 167, + "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 168, + "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 169, + "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 170, + "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 171, + "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 172, + "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 173, + "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 174, + "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 175, + "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 176, + "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 177, + "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 178, + "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 179, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 180, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 181, + "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 182, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 183, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 184, + "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 185, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 186, + "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 187, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 188, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 189, + "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 190, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 191, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 192, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 193, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 194, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 195, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 196, + "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 197, + "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 198, + "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 199, + "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 200, + "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 201, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 202, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 203, + "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 204, + "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 205, + "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 206, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 207, + "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 208, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 209, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 210, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 211, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 212, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 213, + "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 214, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 215, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + } + ] +} \ No newline at end of file diff --git "a/integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" "b/integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" new file mode 100644 index 00000000000..4364e104bb7 --- /dev/null +++ "b/integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" @@ -0,0 +1,1299 @@ +{ + "summary": { + "total": 215, + "success": 0, + "failure": 215 + }, + "tests": [ + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 1, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 2, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 3, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 4, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 5, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 6, + "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 7, + "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 8, + "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 9, + "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 10, + "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 11, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 12, + "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 13, + "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 14, + "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 15, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 16, + "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 17, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 18, + "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 19, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 20, + "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 21, + "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 22, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 23, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 24, + "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 25, + "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 26, + "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 27, + "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 28, + "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 29, + "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 30, + "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 31, + "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 32, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 33, + "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 34, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 35, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 36, + "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 37, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 38, + "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 39, + "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 40, + "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 41, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 42, + "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 43, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 44, + "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 45, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 46, + "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 47, + "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 48, + "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 49, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 50, + "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 51, + "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 52, + "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 53, + "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 54, + "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 55, + "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 56, + "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 57, + "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 58, + "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 59, + "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 60, + "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 61, + "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 62, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 63, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 64, + "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 65, + "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 66, + "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 67, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 68, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 69, + "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 70, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 71, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 72, + "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 73, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 74, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 75, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 76, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 77, + "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 78, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 79, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 80, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 81, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 82, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 83, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 84, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 85, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 86, + "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 87, + "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 88, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 89, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 90, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 91, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 92, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 93, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 94, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 95, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 96, + "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 97, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 98, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 99, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 100, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 101, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 102, + "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 103, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 104, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 105, + "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 106, + "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 107, + "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 108, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 109, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 110, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 111, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 112, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 113, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 114, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 115, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 116, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 117, + "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 118, + "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 119, + "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 120, + "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 121, + "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 122, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 123, + "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 124, + "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 125, + "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 126, + "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 127, + "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 128, + "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 129, + "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 130, + "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 131, + "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 132, + "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 133, + "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 134, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 135, + "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 136, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 137, + "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 138, + "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 139, + "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 140, + "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 141, + "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 142, + "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 143, + "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 144, + "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 145, + "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 146, + "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 147, + "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 148, + "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 149, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 150, + "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 151, + "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 152, + "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 153, + "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 154, + "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 155, + "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 156, + "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 157, + "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 158, + "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 159, + "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 160, + "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 161, + "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 162, + "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 163, + "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 164, + "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 165, + "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 166, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 167, + "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 168, + "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 169, + "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 170, + "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 171, + "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 172, + "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 173, + "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 174, + "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 175, + "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 176, + "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 177, + "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 178, + "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 179, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 180, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 181, + "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 182, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 183, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 184, + "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 185, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 186, + "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 187, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 188, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 189, + "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 190, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 191, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 192, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 193, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 194, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 195, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 196, + "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 197, + "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 198, + "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 199, + "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 200, + "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 201, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 202, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 203, + "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 204, + "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 205, + "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 206, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 207, + "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 208, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 209, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 210, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 211, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 212, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 213, + "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 214, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 215, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + } + ] +} \ No newline at end of file diff --git "a/integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" "b/integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" new file mode 100644 index 00000000000..3a8f173be34 --- /dev/null +++ "b/integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" @@ -0,0 +1,1299 @@ +{ + "summary": { + "total": 215, + "failure": 215, + "success": 0 + }, + "tests": [ + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 1, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 2, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 3, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 4, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 5, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 6, + "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 7, + "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 8, + "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 9, + "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 10, + "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 11, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 12, + "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 13, + "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 14, + "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 15, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 16, + "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 17, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 18, + "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 19, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 20, + "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 21, + "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 22, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 23, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 24, + "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 25, + "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 26, + "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 27, + "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 28, + "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 29, + "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 30, + "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 31, + "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 32, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 33, + "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 34, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 35, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 36, + "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 37, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 38, + "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 39, + "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 40, + "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 41, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 42, + "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 43, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 44, + "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 45, + "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 46, + "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 47, + "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 48, + "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 49, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 50, + "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 51, + "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 52, + "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 53, + "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 54, + "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 55, + "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 56, + "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 57, + "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 58, + "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 59, + "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 60, + "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 61, + "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 62, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 63, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 64, + "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 65, + "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 66, + "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 67, + "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 68, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 69, + "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 70, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 71, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 72, + "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 73, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 74, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 75, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 76, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 77, + "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 78, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 79, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 80, + "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 81, + "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 82, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 83, + "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 84, + "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 85, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 86, + "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 87, + "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 88, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 89, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 90, + "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 91, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 92, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 93, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 94, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 95, + "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 96, + "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 97, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 98, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 99, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 100, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 101, + "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 102, + "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 103, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 104, + "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 105, + "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 106, + "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 107, + "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 108, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 109, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 110, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 111, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 112, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 113, + "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 114, + "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 115, + "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 116, + "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 117, + "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 118, + "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 119, + "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 120, + "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 121, + "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 122, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 123, + "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 124, + "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 125, + "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 126, + "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 127, + "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 128, + "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 129, + "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 130, + "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 131, + "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 132, + "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 133, + "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 134, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 135, + "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 136, + "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 137, + "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 138, + "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 139, + "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 140, + "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 141, + "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 142, + "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 143, + "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 144, + "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 145, + "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 146, + "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 147, + "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 148, + "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 149, + "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 150, + "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 151, + "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 152, + "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 153, + "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 154, + "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 155, + "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 156, + "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 157, + "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 158, + "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 159, + "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 160, + "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 161, + "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 162, + "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 163, + "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 164, + "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 165, + "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 166, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 167, + "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 168, + "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 169, + "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 170, + "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 171, + "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 172, + "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 173, + "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 174, + "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 175, + "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 176, + "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 177, + "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 178, + "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 179, + "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 180, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 181, + "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 182, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 183, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 184, + "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 185, + "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 186, + "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 187, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 188, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 189, + "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 190, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 191, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 192, + "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 193, + "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 194, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 195, + "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 196, + "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 197, + "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 198, + "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 199, + "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 200, + "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 201, + "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 202, + "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 203, + "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 204, + "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 205, + "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 206, + "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 207, + "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 208, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 209, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 210, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 211, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 212, + "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 213, + "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 214, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + }, + { + "result": "Failed", + "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", + "id": 215, + "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" + } + ] +} \ No newline at end of file diff --git a/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java b/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java index 292acbc50b0..551d4b01fa1 100644 --- a/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java +++ b/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java @@ -65,4 +65,6 @@ public class TestsConstants { public static final String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"; public static final String TS_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss.SSS"; public static final String SIMPLE_DATE_FORMAT = "yyyy-MM-dd"; + + public static final String SYNTAX_EX_MSG_FRAGMENT = "is not a valid term at this part of the query"; } diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java index 9af6b1a9a70..11d6487ec45 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/DescribeCommandIT.java @@ -5,6 +5,7 @@ package org.opensearch.sql.ppl; +import static org.opensearch.sql.legacy.TestsConstants.SYNTAX_EX_MSG_FRAGMENT; import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_DOG; import static org.opensearch.sql.util.MatcherUtils.columnName; import static org.opensearch.sql.util.MatcherUtils.verifyColumn; @@ -80,7 +81,7 @@ public void describeCommandWithoutIndexShouldFailToParse() throws IOException { fail(); } catch (ResponseException e) { assertTrue(e.getMessage().contains("RuntimeException")); - assertTrue(e.getMessage().contains("is not a valid term at this part of the query")); + assertTrue(e.getMessage().contains(SYNTAX_EX_MSG_FRAGMENT)); } } } diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java index 2892967be73..0e48e72eb60 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/QueryAnalysisIT.java @@ -5,6 +5,7 @@ package org.opensearch.sql.ppl; +import static org.opensearch.sql.legacy.TestsConstants.SYNTAX_EX_MSG_FRAGMENT; import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_ACCOUNT; import java.io.IOException; @@ -14,7 +15,6 @@ import org.opensearch.sql.exception.SemanticCheckException; public class QueryAnalysisIT extends PPLIntegTestCase { - @Override public void init() throws IOException { loadIndex(Index.ACCOUNT); @@ -82,25 +82,25 @@ public void queryShouldBeCaseInsensitiveInKeywords() { @Test public void queryNotStartingWithSearchCommandShouldFailSyntaxCheck() { String query = "fields firstname"; - queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); + queryShouldThrowSyntaxException(query, SYNTAX_EX_MSG_FRAGMENT); } @Test public void queryWithIncorrectCommandShouldFailSyntaxCheck() { String query = String.format("search source=%s | field firstname", TEST_INDEX_ACCOUNT); - queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); + queryShouldThrowSyntaxException(query, SYNTAX_EX_MSG_FRAGMENT); } @Test public void queryWithIncorrectKeywordsShouldFailSyntaxCheck() { String query = String.format("search sources=%s", TEST_INDEX_ACCOUNT); - queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); + queryShouldThrowSyntaxException(query, SYNTAX_EX_MSG_FRAGMENT); } @Test public void unsupportedAggregationFunctionShouldFailSyntaxCheck() { String query = String.format("search source=%s | stats range(age)", TEST_INDEX_ACCOUNT); - queryShouldThrowSyntaxException(query, "is not a valid term at this part of the query"); + queryShouldThrowSyntaxException(query, SYNTAX_EX_MSG_FRAGMENT); } /** Commands that fail semantic analysis should throw {@link SemanticCheckException}. */ diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java index e91a255b8cd..5582cb961ae 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/SearchCommandIT.java @@ -5,8 +5,7 @@ package org.opensearch.sql.ppl; -import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_BANK; -import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_DOG; +import static org.opensearch.sql.legacy.TestsConstants.*; import static org.opensearch.sql.util.MatcherUtils.columnName; import static org.opensearch.sql.util.MatcherUtils.rows; import static org.opensearch.sql.util.MatcherUtils.verifyColumn; @@ -64,7 +63,7 @@ public void searchCommandWithoutSourceShouldFailToParse() throws IOException { fail(); } catch (ResponseException e) { assertTrue(e.getMessage().contains("RuntimeException")); - assertTrue(e.getMessage().contains("is not a valid term at this part of the query")); + assertTrue(e.getMessage().contains(SYNTAX_EX_MSG_FRAGMENT)); } } } From e4aaaf2a45b74d7ca8a07cc239e6255158abb975 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Tue, 11 Feb 2025 14:58:50 -0800 Subject: [PATCH 09/12] Apply spotless Signed-off-by: Simeon Widdis --- .../common/antlr/SyntaxAnalysisErrorListener.java | 12 ++++++------ .../org/opensearch/sql/legacy/TestsConstants.java | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index a8db176c330..1a64cbdc8e8 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -8,13 +8,12 @@ import java.util.ArrayList; import java.util.List; import java.util.Locale; - import org.antlr.v4.runtime.BaseErrorListener; import org.antlr.v4.runtime.CommonTokenStream; +import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.Recognizer; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.Vocabulary; -import org.antlr.v4.runtime.RecognitionException; import org.antlr.v4.runtime.misc.IntervalSet; /** @@ -65,9 +64,9 @@ private List topSuggestions(Recognizer recognizer, IntervalSet con Vocabulary vocab = recognizer.getVocabulary(); List tokenNames = new ArrayList<>(SUGGESTION_TRUNCATION_THRESHOLD); for (int tokenType : - continuations - .toList() - .subList(0, Math.min(continuations.size(), SUGGESTION_TRUNCATION_THRESHOLD))) { + continuations + .toList() + .subList(0, Math.min(continuations.size(), SUGGESTION_TRUNCATION_THRESHOLD))) { tokenNames.add(vocab.getDisplayName(tokenType)); } return tokenNames; @@ -75,7 +74,8 @@ private List topSuggestions(Recognizer recognizer, IntervalSet con private String getDetails(Recognizer recognizer, String msg, RecognitionException ex) { if (ex == null) { - // According to the ANTLR docs, ex == null means the parser was able to recover from the error. + // According to the ANTLR docs, ex == null means the parser was able to recover from the + // error. // In such cases, `msg` includes the raw error information we care about. return msg; } diff --git a/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java b/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java index 3e78116899b..bbbeb49b111 100644 --- a/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java +++ b/integ-test/src/test/java/org/opensearch/sql/legacy/TestsConstants.java @@ -67,5 +67,6 @@ public class TestsConstants { public static final String TS_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss.SSS"; public static final String SIMPLE_DATE_FORMAT = "yyyy-MM-dd"; - public static final String SYNTAX_EX_MSG_FRAGMENT = "is not a valid term at this part of the query"; + public static final String SYNTAX_EX_MSG_FRAGMENT = + "is not a valid term at this part of the query"; } From c7676b2a6344ba6bdcfbac2b4aa060eb99a912cd Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Thu, 20 Feb 2025 11:05:07 -0800 Subject: [PATCH 10/12] Remove weird extra reports Signed-off-by: Simeon Widdis --- integ-test/reports/report_2024-12-14-00.json | 1299 ----------------- integ-test/reports/report_2024-12-19-16.json | 1299 ----------------- integ-test/reports/report_2024-12-19-17.json | 1299 ----------------- ...62-\333\261\333\271-\333\261\333\267.json" | 1299 ----------------- ...340\245\257-\340\245\247\340\245\255.json" | 1299 ----------------- 5 files changed, 6495 deletions(-) delete mode 100644 integ-test/reports/report_2024-12-14-00.json delete mode 100644 integ-test/reports/report_2024-12-19-16.json delete mode 100644 integ-test/reports/report_2024-12-19-17.json delete mode 100644 "integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" delete mode 100644 "integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" diff --git a/integ-test/reports/report_2024-12-14-00.json b/integ-test/reports/report_2024-12-14-00.json deleted file mode 100644 index 4364e104bb7..00000000000 --- a/integ-test/reports/report_2024-12-14-00.json +++ /dev/null @@ -1,1299 +0,0 @@ -{ - "summary": { - "total": 215, - "success": 0, - "failure": 215 - }, - "tests": [ - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 1, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 2, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 3, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 4, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 5, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 6, - "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 7, - "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 8, - "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 9, - "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 10, - "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 11, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 12, - "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 13, - "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 14, - "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 15, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 16, - "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 17, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 18, - "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 19, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 20, - "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 21, - "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 22, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 23, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 24, - "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 25, - "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 26, - "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 27, - "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 28, - "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 29, - "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 30, - "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 31, - "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 32, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 33, - "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 34, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 35, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 36, - "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 37, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 38, - "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 39, - "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 40, - "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 41, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 42, - "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 43, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 44, - "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 45, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 46, - "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 47, - "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 48, - "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 49, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 50, - "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 51, - "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 52, - "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 53, - "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 54, - "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 55, - "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 56, - "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 57, - "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 58, - "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 59, - "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 60, - "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 61, - "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 62, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 63, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 64, - "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 65, - "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 66, - "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 67, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 68, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 69, - "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 70, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 71, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 72, - "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 73, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 74, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 75, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 76, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 77, - "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 78, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 79, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 80, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 81, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 82, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 83, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 84, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 85, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 86, - "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 87, - "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 88, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 89, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 90, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 91, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 92, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 93, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 94, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 95, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 96, - "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 97, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 98, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 99, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 100, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 101, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 102, - "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 103, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 104, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 105, - "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 106, - "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 107, - "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 108, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 109, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 110, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 111, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 112, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 113, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 114, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 115, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 116, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 117, - "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 118, - "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 119, - "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 120, - "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 121, - "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 122, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 123, - "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 124, - "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 125, - "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 126, - "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 127, - "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 128, - "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 129, - "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 130, - "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 131, - "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 132, - "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 133, - "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 134, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 135, - "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 136, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 137, - "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 138, - "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 139, - "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 140, - "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 141, - "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 142, - "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 143, - "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 144, - "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 145, - "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 146, - "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 147, - "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 148, - "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 149, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 150, - "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 151, - "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 152, - "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 153, - "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 154, - "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 155, - "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 156, - "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 157, - "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 158, - "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 159, - "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 160, - "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 161, - "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 162, - "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 163, - "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 164, - "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 165, - "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 166, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 167, - "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 168, - "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 169, - "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 170, - "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 171, - "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 172, - "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 173, - "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 174, - "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 175, - "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 176, - "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 177, - "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 178, - "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 179, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 180, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 181, - "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 182, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 183, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 184, - "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 185, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 186, - "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 187, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 188, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 189, - "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 190, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 191, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 192, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 193, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 194, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 195, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 196, - "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 197, - "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 198, - "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 199, - "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 200, - "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 201, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 202, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 203, - "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 204, - "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 205, - "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 206, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 207, - "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 208, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 209, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 210, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 211, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 212, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 213, - "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 214, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 215, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - } - ] -} \ No newline at end of file diff --git a/integ-test/reports/report_2024-12-19-16.json b/integ-test/reports/report_2024-12-19-16.json deleted file mode 100644 index 4364e104bb7..00000000000 --- a/integ-test/reports/report_2024-12-19-16.json +++ /dev/null @@ -1,1299 +0,0 @@ -{ - "summary": { - "total": 215, - "success": 0, - "failure": 215 - }, - "tests": [ - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 1, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 2, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 3, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 4, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 5, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 6, - "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 7, - "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 8, - "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 9, - "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 10, - "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 11, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 12, - "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 13, - "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 14, - "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 15, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 16, - "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 17, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 18, - "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 19, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 20, - "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 21, - "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 22, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 23, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 24, - "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 25, - "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 26, - "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 27, - "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 28, - "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 29, - "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 30, - "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 31, - "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 32, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 33, - "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 34, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 35, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 36, - "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 37, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 38, - "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 39, - "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 40, - "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 41, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 42, - "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 43, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 44, - "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 45, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 46, - "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 47, - "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 48, - "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 49, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 50, - "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 51, - "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 52, - "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 53, - "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 54, - "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 55, - "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 56, - "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 57, - "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 58, - "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 59, - "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 60, - "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 61, - "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 62, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 63, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 64, - "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 65, - "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 66, - "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 67, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 68, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 69, - "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 70, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 71, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 72, - "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 73, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 74, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 75, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 76, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 77, - "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 78, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 79, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 80, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 81, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 82, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 83, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 84, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 85, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 86, - "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 87, - "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 88, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 89, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 90, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 91, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 92, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 93, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 94, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 95, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 96, - "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 97, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 98, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 99, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 100, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 101, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 102, - "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 103, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 104, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 105, - "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 106, - "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 107, - "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 108, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 109, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 110, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 111, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 112, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 113, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 114, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 115, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 116, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 117, - "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 118, - "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 119, - "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 120, - "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 121, - "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 122, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 123, - "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 124, - "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 125, - "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 126, - "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 127, - "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 128, - "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 129, - "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 130, - "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 131, - "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 132, - "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 133, - "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 134, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 135, - "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 136, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 137, - "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 138, - "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 139, - "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 140, - "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 141, - "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 142, - "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 143, - "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 144, - "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 145, - "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 146, - "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 147, - "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 148, - "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 149, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 150, - "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 151, - "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 152, - "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 153, - "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 154, - "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 155, - "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 156, - "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 157, - "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 158, - "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 159, - "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 160, - "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 161, - "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 162, - "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 163, - "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 164, - "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 165, - "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 166, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 167, - "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 168, - "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 169, - "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 170, - "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 171, - "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 172, - "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 173, - "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 174, - "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 175, - "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 176, - "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 177, - "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 178, - "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 179, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 180, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 181, - "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 182, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 183, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 184, - "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 185, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 186, - "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 187, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 188, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 189, - "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 190, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 191, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 192, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 193, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 194, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 195, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 196, - "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 197, - "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 198, - "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 199, - "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 200, - "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 201, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 202, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 203, - "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 204, - "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 205, - "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 206, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 207, - "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 208, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 209, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 210, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 211, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 212, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 213, - "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 214, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 215, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - } - ] -} \ No newline at end of file diff --git a/integ-test/reports/report_2024-12-19-17.json b/integ-test/reports/report_2024-12-19-17.json deleted file mode 100644 index 4364e104bb7..00000000000 --- a/integ-test/reports/report_2024-12-19-17.json +++ /dev/null @@ -1,1299 +0,0 @@ -{ - "summary": { - "total": 215, - "success": 0, - "failure": 215 - }, - "tests": [ - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 1, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 2, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 3, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 4, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 5, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 6, - "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 7, - "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 8, - "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 9, - "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 10, - "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 11, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 12, - "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 13, - "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 14, - "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 15, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 16, - "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 17, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 18, - "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 19, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 20, - "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 21, - "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 22, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 23, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 24, - "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 25, - "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 26, - "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 27, - "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 28, - "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 29, - "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 30, - "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 31, - "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 32, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 33, - "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 34, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 35, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 36, - "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 37, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 38, - "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 39, - "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 40, - "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 41, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 42, - "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 43, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 44, - "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 45, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 46, - "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 47, - "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 48, - "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 49, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 50, - "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 51, - "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 52, - "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 53, - "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 54, - "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 55, - "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 56, - "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 57, - "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 58, - "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 59, - "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 60, - "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 61, - "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 62, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 63, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 64, - "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 65, - "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 66, - "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 67, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 68, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 69, - "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 70, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 71, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 72, - "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 73, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 74, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 75, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 76, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 77, - "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 78, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 79, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 80, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 81, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 82, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 83, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 84, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 85, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 86, - "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 87, - "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 88, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 89, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 90, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 91, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 92, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 93, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 94, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 95, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 96, - "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 97, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 98, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 99, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 100, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 101, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 102, - "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 103, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 104, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 105, - "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 106, - "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 107, - "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 108, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 109, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 110, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 111, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 112, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 113, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 114, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 115, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 116, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 117, - "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 118, - "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 119, - "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 120, - "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 121, - "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 122, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 123, - "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 124, - "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 125, - "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 126, - "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 127, - "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 128, - "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 129, - "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 130, - "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 131, - "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 132, - "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 133, - "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 134, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 135, - "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 136, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 137, - "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 138, - "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 139, - "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 140, - "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 141, - "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 142, - "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 143, - "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 144, - "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 145, - "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 146, - "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 147, - "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 148, - "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 149, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 150, - "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 151, - "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 152, - "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 153, - "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 154, - "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 155, - "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 156, - "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 157, - "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 158, - "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 159, - "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 160, - "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 161, - "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 162, - "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 163, - "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 164, - "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 165, - "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 166, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 167, - "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 168, - "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 169, - "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 170, - "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 171, - "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 172, - "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 173, - "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 174, - "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 175, - "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 176, - "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 177, - "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 178, - "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 179, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 180, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 181, - "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 182, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 183, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 184, - "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 185, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 186, - "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 187, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 188, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 189, - "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 190, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 191, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 192, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 193, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 194, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 195, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 196, - "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 197, - "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 198, - "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 199, - "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 200, - "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 201, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 202, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 203, - "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 204, - "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 205, - "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 206, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 207, - "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 208, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 209, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 210, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 211, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 212, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 213, - "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 214, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 215, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - } - ] -} \ No newline at end of file diff --git "a/integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" "b/integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" deleted file mode 100644 index 4364e104bb7..00000000000 --- "a/integ-test/reports/report_\333\262\333\260\333\262\333\264-\333\261\333\262-\333\261\333\271-\333\261\333\267.json" +++ /dev/null @@ -1,1299 +0,0 @@ -{ - "summary": { - "total": 215, - "success": 0, - "failure": 215 - }, - "tests": [ - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 1, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 2, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 3, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 4, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 5, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 6, - "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 7, - "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 8, - "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 9, - "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 10, - "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 11, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 12, - "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 13, - "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 14, - "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 15, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 16, - "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 17, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 18, - "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 19, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 20, - "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 21, - "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 22, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 23, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 24, - "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 25, - "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 26, - "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 27, - "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 28, - "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 29, - "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 30, - "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 31, - "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 32, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 33, - "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 34, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 35, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 36, - "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 37, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 38, - "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 39, - "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 40, - "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 41, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 42, - "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 43, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 44, - "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 45, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 46, - "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 47, - "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 48, - "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 49, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 50, - "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 51, - "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 52, - "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 53, - "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 54, - "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 55, - "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 56, - "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 57, - "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 58, - "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 59, - "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 60, - "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 61, - "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 62, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 63, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 64, - "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 65, - "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 66, - "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 67, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 68, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 69, - "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 70, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 71, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 72, - "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 73, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 74, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 75, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 76, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 77, - "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 78, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 79, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 80, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 81, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 82, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 83, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 84, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 85, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 86, - "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 87, - "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 88, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 89, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 90, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 91, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 92, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 93, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 94, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 95, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 96, - "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 97, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 98, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 99, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 100, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 101, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 102, - "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 103, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 104, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 105, - "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 106, - "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 107, - "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 108, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 109, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 110, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 111, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 112, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 113, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 114, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 115, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 116, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 117, - "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 118, - "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 119, - "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 120, - "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 121, - "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 122, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 123, - "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 124, - "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 125, - "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 126, - "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 127, - "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 128, - "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 129, - "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 130, - "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 131, - "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 132, - "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 133, - "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 134, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 135, - "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 136, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 137, - "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 138, - "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 139, - "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 140, - "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 141, - "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 142, - "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 143, - "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 144, - "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 145, - "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 146, - "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 147, - "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 148, - "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 149, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 150, - "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 151, - "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 152, - "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 153, - "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 154, - "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 155, - "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 156, - "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 157, - "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 158, - "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 159, - "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 160, - "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 161, - "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 162, - "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 163, - "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 164, - "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 165, - "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 166, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 167, - "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 168, - "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 169, - "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 170, - "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 171, - "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 172, - "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 173, - "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 174, - "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 175, - "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 176, - "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 177, - "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 178, - "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 179, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 180, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 181, - "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 182, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 183, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 184, - "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 185, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 186, - "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 187, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 188, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 189, - "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 190, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 191, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 192, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 193, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 194, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 195, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 196, - "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 197, - "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 198, - "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 199, - "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 200, - "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 201, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 202, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 203, - "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 204, - "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 205, - "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 206, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 207, - "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 208, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 209, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 210, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 211, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 212, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 213, - "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 214, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 215, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - } - ] -} \ No newline at end of file diff --git "a/integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" "b/integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" deleted file mode 100644 index 3a8f173be34..00000000000 --- "a/integ-test/reports/report_\340\245\250\340\245\246\340\245\250\340\245\252-\340\245\247\340\245\250-\340\245\247\340\245\257-\340\245\247\340\245\255.json" +++ /dev/null @@ -1,1299 +0,0 @@ -{ - "summary": { - "total": 215, - "failure": 215, - "success": 0 - }, - "tests": [ - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 1, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 2, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `sum_Offset_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 3, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`FlightDelay`) AS `sum_FlightDelay_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 4, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `sum_DistanceMiles_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 5, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 6, - "sql": "SELECT SUM(ABS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 7, - "sql": "SELECT SUM(ACOS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358221825_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 8, - "sql": "SELECT SUM(ASIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358545410_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 9, - "sql": "SELECT SUM(ATAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 10, - "sql": "SELECT SUM(ATAN2(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252358811651_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 11, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 12, - "sql": "SELECT SUM(COS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 13, - "sql": "SELECT SUM(COT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 14, - "sql": "SELECT SUM(DEGREES(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 15, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` DIV `opensearch_dashboards_sample_data_flights`.`FlightDelayMin`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 16, - "sql": "SELECT SUM(EXP(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 17, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 18, - "sql": "SELECT SUM((((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 19, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) - (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 20, - "sql": "SELECT SUM(LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 21, - "sql": "SELECT SUM((LOG(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)/LOG(10))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 22, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 23, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 24, - "sql": "SELECT SUM((CASE WHEN `opensearch_dashboards_sample_data_flights`.`dayOfWeek` >= 0 OR FLOOR(2) = 2 THEN POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`,2) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 25, - "sql": "SELECT SUM(RADIANS(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 26, - "sql": "SELECT SUM(ROUND(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 27, - "sql": "SELECT SUM(SIGN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 28, - "sql": "SELECT SUM(SIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 29, - "sql": "SELECT SUM(SQRT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 30, - "sql": "SELECT SUM(POWER(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 2)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 31, - "sql": "SELECT SUM(TAN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 32, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 33, - "sql": "SELECT SUM(ASCII(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 34, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`Dest` AS `Dest` FROM `opensearch_dashboards_sample_data_flights` WHERE ((`opensearch_dashboards_sample_data_flights`.`Dest` = 'caching_sha2_password') AND (LOCATE('in',LOWER(`opensearch_dashboards_sample_data_flights`.`Dest`)) > 0)) GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 35, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (RIGHT(RTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('.')) = '.') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 36, - "sql": "SELECT SUM(IF(ISNULL(1), NULL, LOCATE('Cape',`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(1))))) AS `sum_Calculation_462181953493630977_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 37, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN LEFT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 38, - "sql": "SELECT LENGTH(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 39, - "sql": "SELECT LOWER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 40, - "sql": "SELECT LTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 41, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 42, - "sql": "SELECT IF(ISNULL(0), NULL, SUBSTRING(`opensearch_dashboards_sample_data_flights`.`Origin`,GREATEST(1,FLOOR(0)),FLOOR(5))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 43, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `usr_Calculation_462181953493630977_nk` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 44, - "sql": "SELECT REPLACE(`opensearch_dashboards_sample_data_flights`.`Origin`,'Airport','') AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 45, - "sql": "SELECT (CASE WHEN 3 >= 0 THEN RIGHT(`opensearch_dashboards_sample_data_flights`.`Origin`,3) ELSE NULL END) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 46, - "sql": "SELECT RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 47, - "sql": "SELECT IF(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` >= 0, SPACE(FLOOR(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)), NULL) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 48, - "sql": "SELECT TRIM(LEADING '-' FROM TRIM(LEADING SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', (2 - 1)) FROM SUBSTRING_INDEX(`opensearch_dashboards_sample_data_flights`.`Origin`, '-', 2))) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 49, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (LEFT(LTRIM(LOWER(SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024))), LENGTH('$')) = '$') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 50, - "sql": "SELECT TRIM(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 51, - "sql": "SELECT UPPER(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `Calculation_462181953493630977` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 52, - "sql": "SELECT ADDDATE( DATE_FORMAT( DATE(`opensearch_dashboards_sample_data_flights`.`password_last_changed`), '%Y-01-01 00:00:00' ), INTERVAL 0 SECOND ) AS `tyr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 53, - "sql": "SELECT YEAR(DATE(`opensearch_dashboards_sample_data_flights`.`timestamp`)) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 54, - "sql": "SELECT (YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) - YEAR(DATE('1990-01-01'))) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 55, - "sql": "SELECT MONTHNAME(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_1706301351891775489` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 56, - "sql": "SELECT YEAR(TIMESTAMP(STR_TO_DATE('5.April.2004', '%d.%i.%Y'))) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 57, - "sql": "SELECT YEAR(ADDDATE( CONCAT( DATE_FORMAT( `opensearch_dashboards_sample_data_flights`.`timestamp`, '%Y-' ), (3*(QUARTER(`opensearch_dashboards_sample_data_flights`.`timestamp`)-1)+1), '-01 00:00:00' ), INTERVAL 0 SECOND )) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 58, - "sql": "SELECT DAYOFMONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `Calculation_462181953481519104` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 59, - "sql": "SELECT 2019 AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 60, - "sql": "SELECT YEAR(ADDTIME(CAST(CAST(`opensearch_dashboards_sample_data_flights`.`timestamp` AS DATE) AS DATETIME), TIME(`opensearch_dashboards_sample_data_flights`.`timestamp`))) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 61, - "sql": "SELECT YEAR(MAKETIME(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`, `opensearch_dashboards_sample_data_flights`.`dayOfWeek`)) AS `yr_Calculation_1706301351891775489_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 62, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `max_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 63, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `min_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 64, - "sql": "SELECT MONTH(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `mn_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 65, - "sql": "SELECT YEAR(NOW()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 66, - "sql": "SELECT YEAR(CURDATE()) AS `yr_Calculation_462181953481519104_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 67, - "sql": "SELECT YEAR(`opensearch_dashboards_sample_data_flights`.`timestamp`) AS `yr_timestamp_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 68, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') AND (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 69, - "sql": "SELECT (CASE `opensearch_dashboards_sample_data_flights`.`OriginWeather` WHEN 'Sunny' THEN '1' WHEN 'Rain' THEN '0' ELSE 'NA' END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 70, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 71, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 1) THEN 'Delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 72, - "sql": "SELECT (RIGHT(RTRIM(`opensearch_dashboards_sample_data_flights`.`Origin`), LENGTH('Airport')) = 'Airport') AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 73, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`FlightDelay` = 0) THEN 'No delay' ELSE CAST(NULL AS CHAR(1)) END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 74, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`Cancelled`, `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 75, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 76, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 77, - "sql": "SELECT ISNULL(`opensearch_dashboards_sample_data_flights`.`FlightNum`) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 78, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 79, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 80, - "sql": "SELECT (NOT ISNULL(DATE_FORMAT(`opensearch_dashboards_sample_data_flights`.`Origin`, '%Y'))) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 81, - "sql": "SELECT ((`opensearch_dashboards_sample_data_flights`.`Origin` = 'Frankfurt am Main Airport') OR (`opensearch_dashboards_sample_data_flights`.`Dest` = 'Sydney Kingsford Smith International Airport')) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 82, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 83, - "sql": "SELECT (CASE WHEN (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'High' WHEN NOT (`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` > 500) THEN 'Low' ELSE NULL END) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 84, - "sql": "SELECT IFNULL(`opensearch_dashboards_sample_data_flights`.`FlightDelay`, 0) AS `Calculation_462181953506873347` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 85, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2376748618)(0)`, MAX(`opensearch_dashboards_sample_data_flights`.`Origin`) AS `TEMP(Calculation_462181953504628738)(2968235173)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 86, - "sql": "SELECT AVG(`opensearch_dashboards_sample_data_flights`.`FlightDelayMin`) AS `avg_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 87, - "sql": "SELECT SUM(1) AS `cnt_max_user_connections_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 88, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`max_questions`) AS `max_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 89, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `min_max_questions_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 90, - "sql": "SELECT SUM((`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` * `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`)) AS `TEMP(Calculation_462181953506873347)(1705728846)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(Calculation_462181953506873347)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 91, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(2070533874)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`DistanceMiles`) AS `TEMP(Calculation_462181953506873347)(3496560911)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceMiles` * `opensearch_dashboards_sample_data_flights`.`DistanceMiles`)) AS `TEMP(Calculation_462181953506873347)(3595387140)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 92, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `usr_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 93, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(Calculation_462181953506873347)(2584840543)(0)`, SUM(((`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0) * (`opensearch_dashboards_sample_data_flights`.`dayOfWeek` + 0.0))) AS `TEMP(Calculation_462181953506873347)(3340567470)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 94, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(1474522238)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`DistanceKilometers`) AS `TEMP(Calculation_462181953506873347)(2841334535)(0)`, SUM((`opensearch_dashboards_sample_data_flights`.`DistanceKilometers` * `opensearch_dashboards_sample_data_flights`.`DistanceKilometers`)) AS `TEMP(Calculation_462181953506873347)(461715975)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 95, - "sql": "SELECT SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) AS `OriginWeather` FROM `opensearch_dashboards_sample_data_flights` WHERE (SUBSTRING(`opensearch_dashboards_sample_data_flights`.`OriginWeather`, 1, 1024) = 'ABC') GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 96, - "sql": "SELECT SUM((CASE \\tWHEN ISNULL(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) THEN NULL \\tWHEN ISNULL(10) THEN NULL \\tELSE GREATEST(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`, 10) END)) AS `sum_Calculation_160722252357632000_ok` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 97, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~e`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` LEFT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 98, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`AvgTicketPrice` AS `AvgTicketPrice`, `opensearch_dashboards_sample_data_flights`.`Cancelled` AS `Cancelled`, `opensearch_dashboards_sample_data_flights`.`Carrier` AS `Carrier`, `opensearch_dashboards_sample_data_flights`.`DestAirportID` AS `DestAirportID`, `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, `opensearch_dashboards_sample_data_flights`.`DestCountry` AS `DestCountry`, `opensearch_dashboards_sample_data_flights`.`DestLocation` AS `DestLocation`, `opensearch_dashboards_sample_data_flights`.`DestRegion` AS `Dest~~~<<>>~~~`.`opensearch_dashboards_sample_data_flights` AS `opensearch_dashboards_sample_data_flights` FROM `opensearch_dashboards_sample_data_ecommerce` RIGHT JOIN `opensearch_dashboards_sample_data_flights` ON (`opensearch_dashboards_sample_data_ecommerce`.`day_of_week_i` = `opensearch_dashboards_sample_data_flights`.`dayOfWeek`) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 99, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 100, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`OriginCityName` AS `OriginCityName` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `OriginCityName` ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 101, - "sql": "SELECT `opensearch_dashboards_sample_data_flights`.`DestCityName` AS `DestCityName`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `$__alias__0` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1 ORDER BY `$__alias__0` DESC, `DestCityName` ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 102, - "sql": "SELECT 'DESKTOP-7APIVOE\\\\\\\\Rupal' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 103, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 104, - "sql": "SELECT 0 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 105, - "sql": "SELECT 1 AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 106, - "sql": "SELECT 'DESKTOP-7APIVOE' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 107, - "sql": "SELECT 'ABC' AS `Calculation_1122522251639717888` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 108, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(3575797393)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 109, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(105357904)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TEMP(TC_)(4001152001)(0))(2584840543)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 110, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2076389572)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 111, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2465277995)(0)`, COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TEMP(TC_)(4079199159)(0))(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 112, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 113, - "sql": "SELECT COUNT(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2633997250)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 114, - "sql": "SELECT MAX(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(718966039)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 115, - "sql": "SELECT MIN(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(2462140059)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 116, - "sql": "SELECT SUM(`opensearch_dashboards_sample_data_flights`.`dayOfWeek`) AS `TEMP(TC_)(105357904)(0)`, SUM(`opensearch_dashboards_sample_data_flights`.`AvgTicketPrice`) AS `TEMP(TC_)(2465277995)(0)` FROM `opensearch_dashboards_sample_data_flights` GROUP BY 1" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 117, - "sql": "SELECT 1 AS `empty` FROM `opensearch_dashboards_sample_data_flights`" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 118, - "sql": "SELECT substring(OriginWeather, 1, 2) AS OriginWeather FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 119, - "sql": "SELECT SUM(FlightDelayMin) AS sum_FlightDelayMin_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 120, - "sql": "SELECT SUM(FlightDelay) AS sum_FlightDelay_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 121, - "sql": "SELECT SUM(DistanceMiles) AS sum_DistanceMiles_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 122, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 123, - "sql": "SELECT abs(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 124, - "sql": "SELECT acos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 125, - "sql": "SELECT asin(FlightDelayMin) AS sum_Calculation_160722252358545410_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 126, - "sql": "SELECT atan(FlightDelayMin) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 127, - "sql": "SELECT atan2(FlightDelayMin,dayOfWeek) AS sum_Calculation_160722252358811651_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 128, - "sql": "SELECT SUM(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 129, - "sql": "SELECT cos(FlightDelayMin) AS sum_Calculation_160722252358221825_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 130, - "sql": "SELECT cot(AvgTicketPrice) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 131, - "sql": "SELECT degrees(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 132, - "sql": "SELECT FlightDelayMin div AvgTicketPrice AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 133, - "sql": "SELECT exp(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 134, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 135, - "sql": "SELECT SUM((((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN 1.5 ELSE 0.0 END) - (CASE WHEN ((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN 3.0 ELSE 0.0 END)) + (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 136, - "sql": "SELECT SUM(ROUND( (((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) - (CASE WHEN ((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)) < 0.0) AND ((CASE WHEN (ABS((AvgTicketPrice) - (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0)))) + SQRT(3.0) * ((ABS((FlightDelayMin) - (ROUND( ( (FlightDelayMin) / 3.0 ), 0 ) * 3.0))) - 1.0) > 0.0 THEN SQRT(3.0) / 2.0 ELSE 0.0 END) > 0.0) THEN SQRT(3.0) ELSE 0.0 END)) + (ROUND( ( (AvgTicketPrice) / SQRT(3.0) ), 0 ) * SQRT(3.0))), 3)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 137, - "sql": "SELECT log(FlightDelayMin) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 138, - "sql": "SELECT (log(FlightDelayMin)/log(10)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 139, - "sql": "SELECT MAX(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 140, - "sql": "SELECT MIN(FlightDelayMin) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 141, - "sql": "SELECT sum((case when dayOfWeek >= 0 or floor(2) = 2 then power(dayOfWeek,2) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 142, - "sql": "SELECT radians(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 143, - "sql": "SELECT round(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 144, - "sql": "SELECT sign(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 145, - "sql": "SELECT sin(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 146, - "sql": "SELECT sqrt(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 147, - "sql": "SELECT power(dayOfWeek, 2) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 148, - "sql": "SELECT tan(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 149, - "sql": "SELECT SUM(dayOfWeek) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 150, - "sql": "SELECT ascii(substring(OriginWeather, 1, 5)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 151, - "sql": "SELECT Dest, locate('air',Dest) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 152, - "sql": "SELECT substring(OriginWeather, 1, 1024) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (right(rtrim(lower(substring(OriginWeather, 1, 5))), length('.')) ='.')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 153, - "sql": "SELECT sum(if(isnull(1), null, locate('Cape',Origin,greatest(1,floor(1))))) AS sum_Calculation_462181953493630977_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 154, - "sql": "SELECT (case when 3 >= 0 then left(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 155, - "sql": "SELECT length(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 156, - "sql": "SELECT lower(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 157, - "sql": "SELECT ltrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 158, - "sql": "SELECT max(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 159, - "sql": "SELECT if(isnull(0), null, substring(Origin,greatest(1,floor(0)),floor(5))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 160, - "sql": "SELECT min(Origin) AS usr_Calculation_462181953493630977_nk FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 161, - "sql": "SELECT replace(Origin,'Airport','') AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 162, - "sql": "SELECT (case when 3 >= 0 then right(Origin,3) else null end) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 163, - "sql": "SELECT rtrim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 164, - "sql": "SELECT if(AvgTicketPrice >= 0, space(floor(AvgTicketPrice)), null) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 165, - "sql": "SELECT trim(leading '-' FROM trim(leading substring(Origin, '-', (2 - 1)) FROM substring_index(Origin, '-', 2))) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 166, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights where (left(ltrim(lower(substring(OriginWeather, 1, 5))), length('$')) = '$')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 167, - "sql": "SELECT trim(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 168, - "sql": "SELECT upper(Origin) AS Calculation_462181953493630977 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 169, - "sql": "SELECT adddate( date_format( date(timestamp), '%Y-01-01 00:00:00' ), interval 0 second ) AS tyr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 170, - "sql": "SELECT year(date(timestamp)) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 171, - "sql": "SELECT year(timestamp(str_to_date('5.April.2004', '%d.%i.%Y'))) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 172, - "sql": "SELECT dayofmonth(timestamp) AS Calculation_462181953481519104 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 173, - "sql": "SELECT 2019 AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 174, - "sql": "SELECT max(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 175, - "sql": "SELECT min(timestamp) AS max_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 176, - "sql": "SELECT month(timestamp) AS mn_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 177, - "sql": "SELECT year(now()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 178, - "sql": "SELECT year(curdate()) AS yr_Calculation_462181953481519104_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 179, - "sql": "SELECT year(timestamp) AS yr_timestamp_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 180, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') and (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 181, - "sql": "SELECT (case OriginWeather when 'Sunny' then '1' when 'Rain' then '0' else 'NA' end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 182, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 183, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' when (FlightDelay = 1) then 'Delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 184, - "sql": "SELECT (right(rtrim(Origin), length('Airport')) = 'Airport') AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 185, - "sql": "SELECT (case when (FlightDelay = 0) then 'No delay' else cast(null as char(1)) end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 186, - "sql": "SELECT ifnull(Cancelled, AvgTicketPrice) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 187, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 188, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 189, - "sql": "SELECT isnull(FlightNum) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 190, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 191, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 192, - "sql": "SELECT (not isnull(date_format(Origin, '%Y'))) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 193, - "sql": "SELECT ((Origin = 'Frankfurt am Main Airport') or (Dest = 'Sydney Kingsford Smith International Airport')) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 194, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 195, - "sql": "SELECT (case when (AvgTicketPrice > 500) THEN 'High' when not (AvgTicketPrice > 500) then 'Low' else null end) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 196, - "sql": "SELECT ifnull(FlightDelay, 0) AS Calculation_462181953506873347 FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 197, - "sql": "SELECT min(Origin) AS temp(Calculation_462181953504628738)(2376748618)(0), max(Origin) AS temp(Calculation_462181953504628738)(2968235173)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 198, - "sql": "SELECT AVG(dayOfWeek) AS avg_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 199, - "sql": "SELECT SUM(1) AS cnt_dayOfWeek_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 200, - "sql": "SELECT COUNT(DISTINCT AvgTicketPrice) AS ctd_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 201, - "sql": "SELECT MAX(AvgTicketPrice) AS max_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 202, - "sql": "SELECT MIN(AvgTicketPrice) AS min_AvgTicketPrice_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 203, - "sql": "SELECT sum((AvgTicketPrice * AvgTicketPrice)) AS temp(Calculation_462181953506873347)(1705728846)(0), sum(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2465277995)(0), count(AvgTicketPrice) AS temp(Calculation_462181953506873347)(2633997250)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 204, - "sql": "SELECT count(DistanceMiles) AS temp(Calculation_462181953506873347)(2070533874)(0), sum(DistanceMiles) AS temp(Calculation_462181953506873347)(3496560911)(0), sum((DistanceMiles * DistanceMiles)) AS temp(Calculation_462181953506873347)(3595387140)(0) FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 205, - "sql": "SELECT SUM(dayOfWeek) AS usr_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 206, - "sql": "SELECT substring(OriginWeather, 1, 5) AS OriginWeather FROM opensearch_dashboards_sample_data_flights WHERE (substring(OriginWeather, 1, 5) = 'ABC')" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 207, - "sql": "SELECT sum((case when isnull(FlightDelayMin) then null when isnull(10) then null else greatest(FlightDelayMin, 10) end)) AS sum_Calculation_160722252357632000_ok FROM opensearch_dashboards_sample_data_flights" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 208, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 209, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 210, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier, DestAirportID AS DestAirportID, DestCityName AS DestCityName, DestCountry AS DestCountry, DestLocation AS DestLocation FROM opensearch_dashboards_sample_data_ecommerce RIGHT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 211, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName ASC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 212, - "sql": "SELECT OriginCityName FROM opensearch_dashboards_sample_data_flights ORDER BY OriginCityName DESC" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 213, - "sql": "SELECT DestCityName, SUM(AvgTicketPrice) AS $__alias__0 FROM opensearch_dashboards_sample_data_flights ORDER BY $__alias__0 DESC, DestCityName ASC LIMIT 10" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 214, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce INNER JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - }, - { - "result": "Failed", - "reason": "IllegalStateException: HTTP Code: 400. Message: Bad Request. Raw response received: {\"error\":\"no handler found for uri [/_plugins/_sql] and method [POST]\"}", - "id": 215, - "sql": "SELECT AvgTicketPrice AS AvgTicketPrice, Cancelled AS Cancelled, Carrier AS Carrier FROM opensearch_dashboards_sample_data_ecommerce LEFT JOIN opensearch_dashboards_sample_data_flights ON (opensearch_dashboards_sample_data_ecommerce.day_of_week_i = dayOfWeek) LIMIT 1000" - } - ] -} \ No newline at end of file From 949f2d03b52517c164c1c72c45f967f3b06c4be3 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Fri, 21 Feb 2025 11:43:14 -0800 Subject: [PATCH 11/12] Add some exact error output tests + fix bug Signed-off-by: Simeon Widdis --- .../common/antlr/SyntaxAnalysisErrorListener.java | 2 +- .../sql/ppl/antlr/PPLSyntaxParserTest.java | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java index 1a64cbdc8e8..9cf118f64ae 100644 --- a/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java +++ b/common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java @@ -87,7 +87,7 @@ private String getDetails(Recognizer recognizer, String msg, RecognitionEx if (possibleContinuations.size() > SUGGESTION_TRUNCATION_THRESHOLD) { details .append("one of ") - .append(suggestions.size()) + .append(possibleContinuations.size()) .append(" possible tokens. Some examples: ") .append(String.join(", ", suggestions)) .append(", ..."); diff --git a/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java b/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java index 09c67ebf243..43a7be1c7e4 100644 --- a/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java +++ b/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java @@ -337,11 +337,24 @@ public void testDescribeFieldsCommandShouldPass() { @Test public void testDescribeCommandWithSourceShouldFail() { exceptionRule.expect(RuntimeException.class); - exceptionRule.expectMessage("is not a valid term at this part of the query"); + exceptionRule.expectMessage( + "[=] is not a valid term at this part of the query: 'describe source=' <-- HERE. Expecting" + + " tokens: EOF, '|', ',', '.'"); new PPLSyntaxParser().parse("describe source=t"); } + @Test + public void testInvalidOperatorCombinationShouldFail() { + exceptionRule.expect(RuntimeException.class); + exceptionRule.expectMessage( + "[] is not a valid term at this part of the query: '...= t | where x > y OR' <-- HERE." + + " Expecting one of 294 possible tokens. Some examples: 'SEARCH', 'DESCRIBE', 'SHOW'," + + " 'FROM', 'WHERE', ..."); + + new PPLSyntaxParser().parse("source = t | where x > y OR"); + } + @Test public void testCanParseExtractFunction() { String[] parts = From 7fcb50efc06df60cbd8dbbb137adc05636c40cd1 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Fri, 21 Feb 2025 13:27:45 -0800 Subject: [PATCH 12/12] Fix the flaky tests I just introduced Signed-off-by: Simeon Widdis --- .../sql/ppl/antlr/PPLSyntaxParserTest.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java b/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java index 43a7be1c7e4..b7789ae1706 100644 --- a/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java +++ b/ppl/src/test/java/org/opensearch/sql/ppl/antlr/PPLSyntaxParserTest.java @@ -11,6 +11,7 @@ import java.util.List; import org.antlr.v4.runtime.tree.ParseTree; +import org.hamcrest.text.StringContainsInOrder; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -338,8 +339,9 @@ public void testDescribeFieldsCommandShouldPass() { public void testDescribeCommandWithSourceShouldFail() { exceptionRule.expect(RuntimeException.class); exceptionRule.expectMessage( - "[=] is not a valid term at this part of the query: 'describe source=' <-- HERE. Expecting" - + " tokens: EOF, '|', ',', '.'"); + StringContainsInOrder.stringContainsInOrder( + "[=] is not a valid term at this part of the query: 'describe source=' <-- HERE.", + "Expecting tokens:")); new PPLSyntaxParser().parse("describe source=t"); } @@ -348,9 +350,12 @@ public void testDescribeCommandWithSourceShouldFail() { public void testInvalidOperatorCombinationShouldFail() { exceptionRule.expect(RuntimeException.class); exceptionRule.expectMessage( - "[] is not a valid term at this part of the query: '...= t | where x > y OR' <-- HERE." - + " Expecting one of 294 possible tokens. Some examples: 'SEARCH', 'DESCRIBE', 'SHOW'," - + " 'FROM', 'WHERE', ..."); + StringContainsInOrder.stringContainsInOrder( + "[] is not a valid term at this part of the query: '...= t | where x > y OR' <--" + + " HERE.", + "Expecting one of ", + " possible tokens. Some examples: ", + "...")); new PPLSyntaxParser().parse("source = t | where x > y OR"); }