calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dilip Raj Baral <>
Subject Re: Can’t seem to parse DDL staements
Date Mon, 17 Dec 2018 15:33:26 GMT
Hi, Ted.

Thanks for the information. That was very helpful. I was not aware of
calcite-server sub project.

Also, on a quick look I found missing support for TRUNCATE TABLE, CREATE
PROCEDURE and CREATE FUNCTION? Are they not available for real of am I
missing something?

On 17 December 2018 at 11:35:19 AM, Ted Xu ( wrote:

Hi Dilip,

DDL related code including statement parse and data structures are located
in calcite-server sub-project.

The unit test 'ServerParserTest' may be a good starting point to look into.
You can find it here

On Mon, Dec 17, 2018 at 1:34 AM Dilip Raj Baral <>

> Hi, team.
> I have been using Apache Calcite for about two weeks now for one of the
> projects at my company. I have found it fun and pretty useful so far. I
> have been able to parse DMLs very smoothly. However, when I tried to parse
> DDLs like CREATE TABLE, ALTER TABLE, etc., the SqlParser.parseStmt() or
> SqlParser.parseQuery() failed.
> I have detailed the specifics in the following SO question.
> Looking forward to a suggestion.
> Best regards,
> Dilip Raj Baral

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message