From b0c14a4e933af601b5cd7119932cee11f893fc4d Mon Sep 17 00:00:00 2001 From: Akshay Sarma Date: Thu, 23 Sep 2021 17:12:05 -0400 Subject: [PATCH] BQL keywords (#119) --- app/utils/codemirror-adapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/codemirror-adapter.js b/app/utils/codemirror-adapter.js index 31e4dfc..89eedd4 100644 --- a/app/utils/codemirror-adapter.js +++ b/app/utils/codemirror-adapter.js @@ -27,7 +27,7 @@ export function defineBQL() { keywords: set('select as cast count distinct sum min max avg from where if and or not xor is all any true false ' + 'null group by having order asc desc limit every first time record linear region manual stream ' + 'windowing tumbling quantile freq cumfreq top sizeis sizeof filter rlike containskey containsvalue ' + - 'lateral view outer explode trim abs between substr substring unixtimestamp'), + 'lateral view outer explode trim abs lower upper hash between substr substring unixtimestamp now'), builtin: set('string boolean integer long float double map list'), atoms: set('false true null'), operatorChars: /^[*+\-/%<>!=&|^]/,