You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Danny Chan (JIRA)" <ji...@apache.org> on 2019/05/22 01:44:00 UTC

[jira] [Created] (CALCITE-3083) Add demos(how to) doc for all supported DDLs and DMLs

Danny Chan created CALCITE-3083:
-----------------------------------

             Summary: Add demos(how to) doc for all supported DDLs and DMLs
                 Key: CALCITE-3083
                 URL: https://issues.apache.org/jira/browse/CALCITE-3083
             Project: Calcite
          Issue Type: Bug
          Components: site
    Affects Versions: 1.19.0
            Reporter: Danny Chan
            Assignee: Danny Chan


Copied from DEV mail:

Dear Dev Team's Apache Calcite,

My name is Duc. I'm working at Toshiba Group in Vietnam.

I'm implementing how to parser DDL file using library Apache Calcite.

I'm trying with below solution, but has exception is thrown and i don't know that why. 

 
{code:java}
InputStream ddlFile = new FileInputStream("ddlTest.sql");
SqlDdlParserImpl ddlParser = new SqlDdlParserImpl(ddlFile,"UTF8");
SqlNode node = ddlParser.SqlStmt(); {code}
Could you please send me a example of DDL file or give me a suggestion about this proplem.

 

We indeed need detail demos about our grammars, that will let users to some fast start up and our site more user friendly.



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