[ 
https://issues.apache.org/jira/browse/DRILL-6420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481025#comment-16481025
 ] 

ASF GitHub Bot commented on DRILL-6420:
---------------------------------------

asfgit closed pull request #1261: DRILL-6420: Add Lateral and Unnest Keyword 
for highlighting on WebUI
URL: https://github.com/apache/drill/pull/1261
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 992fdb6842..ceb47c8f04 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"


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add Lateral and Unnest Keyword for highlighting on WebUI
> --------------------------------------------------------
>
>                 Key: DRILL-6420
>                 URL: https://issues.apache.org/jira/browse/DRILL-6420
>             Project: Apache Drill
>          Issue Type: Task
>          Components: Web Server
>            Reporter: Sorabh Hamirwasia
>            Assignee: Sorabh Hamirwasia
>            Priority: Major
>              Labels: ready-to-commit
>             Fix For: 1.14.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to