GitHub user vkorukanti opened a pull request:

    https://github.com/apache/incubator-drill/pull/53

    DRILL-392: Support SHOW TABLES/SCHEMAS and DESCRIBE TABLE.

    Use Optiq parser template to generate Drill parser
    a) exec/java-exec/pom.xml changes:
       1. Write a plugin to move current existing codegen directory to target
          (fmpp can't handle more than one directory as template input dir).
       2. Change template directory path in fmpp plugin.
       3. Extract CombinedParser.jj into target/codegen/templates directory.
       4. Plugin to compile CombinedParser.jj using javacc.
    
    b) Add parser.tdd to define values for freemarker variables in 
CombinedParser.jj template.
    c) Define grammar and SqlCall types for new DDL statements.
    d) Handlers to rewrite newly added SqlCall DDL statements as select queries 
from INFORMATION_SCHEMA.

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

    $ git pull https://github.com/vkorukanti/incubator-drill DRILL-392

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

    https://github.com/apache/incubator-drill/pull/53.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 #53
    
----
commit 60af41f36a8a723d9f34c867e7eec8a5cd3ea79e
Author: vkorukanti <[email protected]>
Date:   2014-04-10T20:41:11Z

    DRILL-392: Support SHOW TABLES/SCHEMAS and DESCRIBE TABLE.
    
    Use Optiq parser template to generate Drill parser
    a) exec/java-exec/pom.xml changes:
       1. Write a plugin to move current existing codegen directory to target
          (fmpp can't handle more than one directory as template input dir).
       2. Change template directory path in fmpp plugin.
       3. Extract CombinedParser.jj into target/codegen/templates directory.
       4. Plugin to compile CombinedParser.jj using javacc.
    
    b) Add parser.tdd to define values for freemarker variables in 
CombinedParser.jj template.
    c) Define grammar and SqlCall types for new DDL statements.
    d) Handlers to rewrite newly added SqlCall DDL statements as select queries 
from INFORMATION_SCHEMA.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to