calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phạm Minh Đức <duc.phamm...@toshiba-tsdv.com>
Subject Has issue when parse DDL file using SqlDdlParserImpl
Date Tue, 21 May 2019 04:20:25 GMT
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.

    InputStream ddlFile = new FileInputStream("ddlTest.sql");
             SqlDdlParserImpl ddlParser = new 
SqlDdlParserImpl(ddlFile,"UTF8");
             SqlNode node = ddlParser.SqlStmt();

Could you please send me a example of DDL file or give me a suggestion 
about this proplem.

Thank you very much for your hear m !

Best regards,

Pham Minh Duc.


Mime
View raw message