This is an automated email from the ASF dual-hosted git repository.

karan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 432d0b5e66a keyword fixes (#18519)
432d0b5e66a is described below

commit 432d0b5e66aa439dc73c4152c15106b8ae5cd353
Author: Vadim Ogievetsky <[email protected]>
AuthorDate: Thu Sep 18 07:38:28 2025 +0100

    keyword fixes (#18519)
---
 web-console/src/ace-completions/sql-completions.ts | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/web-console/src/ace-completions/sql-completions.ts 
b/web-console/src/ace-completions/sql-completions.ts
index 2cea55183ba..9039f92590c 100644
--- a/web-console/src/ace-completions/sql-completions.ts
+++ b/web-console/src/ace-completions/sql-completions.ts
@@ -99,6 +99,10 @@ const SQL_KEYWORD_FOLLOW_SUGGESTIONS: Record<string, 
string[]> = {
   NEXT: ['ROW', 'ROWS'],
   ROWS: ['ONLY'],
   ROW: ['ONLY'],
+  IS: ['NOT', 'DISTINCT'],
+  DISTINCT: ['FROM'],
+  BY: ['GROUPING', 'ROLLUP', 'CUBE', 'ALL', 'HOUR', 'DAY', 'MONTH', 'YEAR'],
+  ALL: ['TIME'],
 
   // Keywords that cannot be followed by any other keyword
   AS: [],
@@ -110,8 +114,6 @@ const SQL_KEYWORD_FOLLOW_SUGGESTIONS: Record<string, 
string[]> = {
   SET: [],
   VALUES: [],
   ONLY: [],
-  DISTINCT: [],
-  ALL: [],
   WHERE: [],
   HAVING: [],
   USING: [],


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

Reply via email to