You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ar...@apache.org on 2018/05/18 18:43:17 UTC

[drill] 01/08: DRILL-6420: Add Lateral and Unnest Keyword for highlighting on WebUI

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

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

commit 5a3a73ad098f77ad01d9366dc1a0f8f4ac539746
Author: Sorabh Hamirwasia <sh...@maprtech.com>
AuthorDate: Fri May 4 10:47:28 2018 -0700

    DRILL-6420: Add Lateral and Unnest Keyword for highlighting on WebUI
    
    closes #1261
---
 .../src/main/resources/rest/static/js/ace-code-editor/mode-sql.js     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exec/java-exec/src/main/resources/rest/static/js/ace-code-editor/mode-sql.js b/exec/java-exec/src/main/resources/rest/static/js/ace-code-editor/mode-sql.js
index 992fdb6..ceb47c8 100644
--- a/exec/java-exec/src/main/resources/rest/static/js/ace-code-editor/mode-sql.js
+++ b/exec/java-exec/src/main/resources/rest/static/js/ace-code-editor/mode-sql.js
@@ -15,11 +15,11 @@ var SqlHighlightRules = function() {
     //Covered: https://drill.apache.org/docs/supported-sql-commands/
     var keywords = (
         "select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|" +
-        "when|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|key|if|" +
+        "when|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|key|if|lateral|apply|unnest|" +
         "not|default|null|inner|database|drop|" +
         "flatten|kvgen|columns|" +
         "set|reset|alter|session|system|" +
-        "temporary|function|using|jar|between|distinct" +
+        "temporary|function|using|jar|between|distinct|" +
         "partition|view|schema|files|" +
         "explain|plan|with|without|implementation|" +
         "show|describe|use"

-- 
To stop receiving notification emails like this one, please contact
arina@apache.org.