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 76cbf52d58..1a64cbdc8e 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,15 @@ 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.Vocabulary; import org.antlr.v4.runtime.misc.IntervalSet; /** @@ -18,6 +21,10 @@ * information. */ public class SyntaxAnalysisErrorListener extends BaseErrorListener { + // 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; @Override public void syntaxError( @@ -35,8 +42,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 +53,47 @@ private String getOffendingText(Token offendingToken) { } private String truncateQueryAtOffendingToken(String query, Token offendingToken) { - return query.substring(0, offendingToken.getStopIndex() + 1); + 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(contextStartIndex, offendingToken.getStopIndex() + 1); + } + + private List topSuggestions(Recognizer recognizer, IntervalSet continuations) { + 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))) { + tokenNames.add(vocab.getDisplayName(tokenType)); + } + return tokenNames; } - /** - * 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; + 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. + // In such cases, `msg` includes the raw error information we care about. + return msg; + } + + IntervalSet possibleContinuations = ex.getExpectedTokens(); + List suggestions = topSuggestions(recognizer, possibleContinuations); + + StringBuilder details = new StringBuilder("Expecting "); + if (possibleContinuations.size() > SUGGESTION_TRUNCATION_THRESHOLD) { + details + .append("one of ") + .append(suggestions.size()) + .append(" possible tokens. Some examples: ") + .append(String.join(", ", suggestions)) + .append(", ..."); } else { - IntervalSet followSet = e.getExpectedTokens(); - details = "Expecting tokens in " + followSet.toString(recognizer.getVocabulary()); + details.append("tokens: ").append(String.join(", ", suggestions)); } - return details; + return details.toString(); } } diff --git a/docs/user/dql/troubleshooting.rst b/docs/user/dql/troubleshooting.rst index b57479c374..20a9f0e531 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/reports/report_2024-12-14-00.json b/integ-test/reports/report_2024-12-14-00.json new file mode 100644 index 0000000000..4364e104bb --- /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 0000000000..4364e104bb --- /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 0000000000..4364e104bb --- /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 0000000000..4364e104bb --- /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 0000000000..3a8f173be3 --- /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 4601aadf7f..bbbeb49b11 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 @@ -66,4 +66,7 @@ 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 aee32e08d1..11d6487ec4 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("Failed to parse query due to offending symbol")); + 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 80a89ed9c3..0e48e72eb6 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, "Failed to parse query due to offending symbol"); + queryShouldThrowSyntaxException(query, SYNTAX_EX_MSG_FRAGMENT); } @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, SYNTAX_EX_MSG_FRAGMENT); } @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, SYNTAX_EX_MSG_FRAGMENT); } @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, 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 5d1b0203d7..5582cb961a 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("Failed to parse query due to offending symbol")); + assertTrue(e.getMessage().contains(SYNTAX_EX_MSG_FRAGMENT)); } } } 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 2645be3aca..09c67ebf24 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"); }