GitHub user kkhatua opened a pull request:

    https://github.com/apache/drill/pull/1084

    DRILL-5868: Support SQL syntax highlighting of queries

    Based on the commit for DRILL-5981 (PR #1043), this commit further 
leverages the Ace JavaScript library with customizations specific to Drill.
    
    This commit introduces the following to Drill:
    1. Syntax highlighting (This is also supported for submitted query profiles)
    2. Autocomplete supported in all SQL editors (including the Edit Query tab 
within an existing profile to rerunning the query)
    3. Specifying Drill specific keywords and functions in visible autocomplete
    4. Key snippets (template SQLs) allowing for rapid writing of syntax:
      i. Query System Tables
      ii. CView, CTAS and CTempTAS
      iii. Alter Session
      iv. Explain and Select * queries
    
    NOTE: The lists for items 3 and 4 are not exhaustive. As more features are 
added to Drill, these lists can be expanded.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kkhatua/drill DRILL-5868

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/1084.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1084
    
----
commit 7cc7e3e70e9ab757fd73dd54755e733f9b3cf696
Author: Kunal Khatua <kkhatua@...>
Date:   2018-01-06T01:52:46Z

    DRILL-5868: Support SQL syntax highlighting of queries
    
    Based on the commit for DRILL-5981 (PR #1043), this commit further 
leverages the Ace JavaScript library with customizations specific to Drill.
    
    This commit introduces the following to the Query Editor (including the 
Edit Query tab within an existing profile to rerunning the query).
    1. Syntax highlighting (This is supported for submitted query profiles
    2. Autocomplete supported in editors
    3. Specifying Drill specific keywords and functions in visible autocomplete
    4. Key snippets (template SQLs) allowing for rapid writing of syntax:
      i. Query System Tables
      ii. CView, CTAS and CTempTAS
      iii. Alter Session
      iv. Explain and Select * queries
    
    NOTE: The lists for #3 and #4 are not exhaustive. As more features are 
added to Drill, these lists can be expanded.

----


---

Reply via email to