Re: Re: DDL support issues in Calcite

2022-02-23 Thread wang...@mchz.com.cn
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

Re: RE: DDL support issues in Calcite

2022-02-23 Thread wang...@mchz.com.cn
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

Re: DDL support issues in Calcite

2022-02-22 Thread Julian Hyde
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,

RE: DDL support issues in Calcite

2022-02-21 Thread 徐仁和
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