drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Hyde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5703) Add Syntax Highlighting & Autocompletion to Query Form
Date Thu, 03 Aug 2017 22:26:00 GMT

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

Julian Hyde commented on DRILL-5703:

That's a lot of commits! Looks like you need to rebase your pull request.

I don't know what kind of autocompletion you are supplying, but Calcite has a little-known
class called SqlAdvisor that enables auto-completion of identifiers. For example, if the cursor
is in the middle of the SELECT clause, it knows what table aliases and columns are available
because it understands what is in the FROM clause. It even works if the query is mal-formed.

> Add Syntax Highlighting & Autocompletion to Query Form
> ------------------------------------------------------
>                 Key: DRILL-5703
>                 URL: https://issues.apache.org/jira/browse/DRILL-5703
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Web Server
>    Affects Versions: 1.11.0
>            Reporter: Charles Givre
> The UI could really benefit from having syntax highlighting and autocompletion in the
query window as well as the form to update storage plugins.  This PR adds that capability
to the query form using the Ace code editor (https://ace.c9.io). 

This message was sent by Atlassian JIRA

View raw message