Hi Julian,
It works! Thank you very much!
From: Julian Hyde
Date: 2022-02-23 10:01
To: dev
Subject: Re: DDL support issues in Calcite
Looks like you need to be using ServerDdlExecutor rather than
DdlExecutor.USELESS.
Therefore try using org.apache.calcite.server.ServerDdlExecutor
perty.PARSER_FACTORY,
ServerDdlExecutor.class.getName() + "#PARSER_FACTORY")
...)
}
and it proves that Julian is right.
Thank you very much!
From: 徐仁和
Date: 2022-02-22 14:45
To: dev
Subject: RE: DDL support issues in Calcite
Hi Wang
The test case of `org.apache.calcit
Looks like you need to be using ServerDdlExecutor rather than
DdlExecutor.USELESS.
Therefore try using org.apache.calcite.server.ServerDdlExecutor#PARSER_FACTORY
rather than org.apache.calcite.sql.parser.ddl.SqlDdlParserImpl#FACTORY in your
connect string.
> On Feb 21, 2022, at 12:17 AM,
Hi Wang
The test case of `org.apache.calcite.test.ServerTest` may be what you want.
On 2022/02/21 08:17:55 "wang...@mchz.com.cn" wrote:
> Dear Calcite community:
>
> I am new Calcite user here. I noted in the document
https://calcite.apache.org/docs/adapter.html that Calcite does support DDL