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

Danny Chan updated CALCITE-3083:
--------------------------------
    Description: 
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.

 

Some artifacts from [~michaelmior] [1]

[1] [https://github.com/michaelmior/calcite-notebooks]

  was:
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.


> 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
>            Priority: Major
>
> 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.
>  
> Some artifacts from [~michaelmior] [1]
> [1] [https://github.com/michaelmior/calcite-notebooks]



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

Reply via email to