clintropolis commented on code in PR #17966:
URL: https://github.com/apache/druid/pull/17966#discussion_r2069914806


##########
web-console/src/utils/druid-query.ts:
##########
@@ -236,20 +236,24 @@ export class DruidError extends Error {
       };
     }
 
-    // Semicolon (;) at the end. https://bit.ly/1n1yfkJ
-    // ex: SELECT 1;
-    // ex: Received an unexpected token [;] (line [1], column [9]), acceptable 
options:
+    // Missing (;) after SET statement
+    // ex: SET sqlTimeZone = 'America/Los_Angeles' SELECT * FROM "kttm_simple"
+    // ex: Received an unexpected token [SELECT] (line [1], column [41]), 
acceptable options: [<EOF>, <QUOTED_STRING>, ";", "UESCAPE"]
+    // /Received an unexpected token \[;] \(line \[(\d+)], column \[(\d+)]\),/i

Review Comment:
   nice repurpose heh :metal:



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to