calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Chan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-3083) Add demos(how to) doc for all supported DDLs and DMLs
Date Wed, 22 May 2019 01:44:00 GMT
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)

Mime
View raw message