You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Kunal Khatua (JIRA)" <ji...@apache.org> on 2018/09/28 18:47:00 UTC

[jira] [Updated] (DRILL-6084) Expose list of Drill functions for consumption by JavaScript libraries

     [ https://issues.apache.org/jira/browse/DRILL-6084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kunal Khatua updated DRILL-6084:
--------------------------------
    Reviewer: Arina Ielchiieva

> Expose list of Drill functions for consumption by JavaScript libraries
> ----------------------------------------------------------------------
>
>                 Key: DRILL-6084
>                 URL: https://issues.apache.org/jira/browse/DRILL-6084
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Web Server
>            Reporter: Kunal Khatua
>            Assignee: Kunal Khatua
>            Priority: Minor
>              Labels: javascript
>             Fix For: 1.15.0
>
>
> DRILL-5868 introduces SQL highlighter and the auto-complete feature in the web-UI's query editor.
> For the backend Javascript to highlight the keywords correctly as SQL reserved words or functions, it needs a list of all the Drill functions to be already defined in a source JavaScript ( {{../mode-sql.js}} ) .
> While this works well for standard Drill functions, it means that any new function added to Drill needs to be explicitly hard-coded into the file, rather than be programatically discovered and loaded for the library to highlight.
> It would help if this can be done dynamically without contributors having to explicitly alter the script file to add new function names.



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