Re: Can’t seem to parse DDL staements
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
On 17 December 2018 at 11:35:19 AM, Ted Xu (frankxus@xxxxxxxxx) wrote:
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 <dilip@xxxxxxxxxxxxxxxxx>
> 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