Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3083

Add demos(how to) doc for all supported DDLs and DMLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.19.0
    • None
    • site
    • None

    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. 

       

      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.

       

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            danny0405 Danny Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: