[jira] [Created] (CALCITE-4161) MergeJoin algorithm should not assume inputs sorted in ascending order

2020-08-06 Thread Lai Zhou (Jira)
Lai Zhou created CALCITE-4161: - Summary: MergeJoin algorithm should not assume inputs sorted in ascending order Key: CALCITE-4161 URL: https://issues.apache.org/jira/browse/CALCITE-4161 Project: Calcite

Re: Is it essential to unparse to the same original syntax ?

2019-06-10 Thread Lai Zhou
@Muhammad Gelban , since the SqlStdOperatorTable.CAST is hard coded , I think it's difficult to replace it absolutely with a new cast function now. Lai Zhou 于2019年6月10日周一 下午6:54写道: > @Muhammad Gelban, I suggest you to find the the usages of an Operator > first , if you want to define a n

Re: Is it essential to unparse to the same original syntax ?

2019-06-10 Thread Lai Zhou
@Muhammad Gelban, I suggest you to find the the usages of an Operator first , if you want to define a new one to replace it . In this case, you will find that the SqlStdOperatorTable.CAST is used by the Sql Converter, there're a few more places need attention. You can refer to the solution of my

Re: Pluggable JDBC types

2019-06-04 Thread Lai Zhou
@Muhammad Gelbana,I think you just register an alias-name 'TEXT' for the SqlType 'VARCHAR'. The parser did the right thing here, see https://github.com/apache/calcite/blob/9721283bd0ce46a337f51a3691585cca8003e399/core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java#L1566 When

[jira] [Created] (CALCITE-3071) Cache the whole sql plan to reduce the latency and improve the performance

2019-05-15 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-3071: - Summary: Cache the whole sql plan to reduce the latency and improve the performance Key: CALCITE-3071 URL: https://issues.apache.org/jira/browse/CALCITE-3071 Project

[jira] [Created] (CALCITE-3069) Make the JDBC Connection more extensible like the FrameworkConfig API

2019-05-15 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-3069: - Summary: Make the JDBC Connection more extensible like the FrameworkConfig API Key: CALCITE-3069 URL: https://issues.apache.org/jira/browse/CALCITE-3069 Project: Calcite

Re: [ANNOUNCE] New committer: Danny Chan

2019-05-13 Thread Lai Zhou
Congratulations, Danny! Kurt Young 于2019年5月14日周二 上午9:04写道: > Congratulations, Danny! > > Best, > Kurt > > > On Tue, May 14, 2019 at 8:43 AM Haisheng Yuan > wrote: > > > Congratulations, Danny! Well deserved. > > > > Thanks ~ > > Haisheng Yuan > >

Re: Calcite push-down operation

2019-05-09 Thread Lai Zhou
@Wangminhao Gou I think you can reference the JdbcConvention , that would push queries to JDBC datasource as much as possible,. 勾王敏浩 于2019年5月9日周四 下午4:18写道: > Hi, > My name is Wangminhao Gou. I've read the CSV example of calcite and > written several other adapters following the CSV

Re: [ANNOUNCE] Stamatis Zampetakis joins Calcite PMC

2019-05-04 Thread Lai Zhou
Congratulations,Stamatis Zampetakis. You are very enthusiastic and responsible , you deserve it. Muhammad Gelbana 于2019年5月4日周六 下午10:09写道: > As Julian said, you totally earned this. I've personally enjoyed your > helpful guidance and answers to my questions. Congratulations, thank you > and

Re: [DISCUSS] Towards Calcite 1.20.0

2019-04-30 Thread Lai Zhou
how about these: [CALCITE-2973] Allow theta joins that have equi conditions to be executed using a hash join algorithm [CALCITE-2282] Allow OperatorTable to be pluggable in the parser [CALCITE-2992] Enhance implicit conversions when generating hash join keys for an equi condition Julian Hyde

[jira] [Created] (CALCITE-3014) SqlConformanceEnum is hard coded in a few places

2019-04-22 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-3014: - Summary: SqlConformanceEnum is hard coded in a few places Key: CALCITE-3014 URL: https://issues.apache.org/jira/browse/CALCITE-3014 Project: Calcite Issue Type

[jira] [Created] (CALCITE-2992) Make implicit conversions when generating hash join keys for an equiCondition

2019-04-12 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-2992: - Summary: Make implicit conversions when generating hash join keys for an equiCondition Key: CALCITE-2992 URL: https://issues.apache.org/jira/browse/CALCITE-2992 Project

Re: Welcome to join China User WeChat Group of Calcite

2019-04-09 Thread Lai Zhou
@See the QRCode here: https://github.com/LaiZhou/Calcite-China-User-Group Yuzhao Chen 于2019年4月9日周二 下午2:24写道: > That’s awesome, good news for Chinese Calcite users, thx for your work, > Lai Zhou. > > Best, > Danny Chan > 在 2019年4月9日 +0800 AM11:53,Lai Zhou ,写道: > >

Welcome to join China User WeChat Group of Calcite

2019-04-08 Thread Lai Zhou
hi, guys: I create a WeChat group for China Users of Apache Calcite, to make it easy to communicate about Calcite. Now we have 2 committers in the group , if you have problems about calcite , join us, let's communicate and discuss here. In Chinese :

[jira] [Created] (CALCITE-2973) make EnumerableMergeJoinRule to support a theta join

2019-04-01 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-2973: - Summary: make EnumerableMergeJoinRule to support a theta join Key: CALCITE-2973 URL: https://issues.apache.org/jira/browse/CALCITE-2973 Project: Calcite Issue

[jira] [Created] (CALCITE-2960) CalciteCatalogReader use a hard-coding config to get functions

2019-03-27 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-2960: - Summary: CalciteCatalogReader use a hard-coding config to get functions Key: CALCITE-2960 URL: https://issues.apache.org/jira/browse/CALCITE-2960 Project: Calcite

[jira] [Created] (CALCITE-2940) CalcitePrepareImpl always creates a default SqlParser without user's CalciteConnectionConfig

2019-03-21 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-2940: - Summary: CalcitePrepareImpl always creates a default SqlParser without user's CalciteConnectionConfig Key: CALCITE-2940 URL: https://issues.apache.org/jira/browse/CALCITE-2940

[jira] [Created] (CALCITE-2907) AggregateExpandDistinctAggregatesRule produces a wrong relational algebra

2019-03-11 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-2907: - Summary: AggregateExpandDistinctAggregatesRule produces a wrong relational algebra Key: CALCITE-2907 URL: https://issues.apache.org/jira/browse/CALCITE-2907 Project

[jira] [Created] (CALCITE-2854) code gen error for UNARY_MINUS operator call with decimal type operands

2019-02-18 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-2854: - Summary: code gen error for UNARY_MINUS operator call with decimal type operands Key: CALCITE-2854 URL: https://issues.apache.org/jira/browse/CALCITE-2854 Project: Calcite

[jira] [Created] (CALCITE-2741) extend the native enummerable implemention of calcite to support Hive SQL

2018-12-14 Thread Lai Zhou (JIRA)
Lai Zhou created CALCITE-2741: - Summary: extend the native enummerable implemention of calcite to support Hive SQL Key: CALCITE-2741 URL: https://issues.apache.org/jira/browse/CALCITE-2741 Project