[jira] [Created] (CALCITE-2602) Support inner join without on-condition

2018-09-28 Thread pengzhiwei (JIRA)
pengzhiwei created CALCITE-2602: --- Summary: Support inner join without on-condition Key: CALCITE-2602 URL: https://issues.apache.org/jira/browse/CALCITE-2602 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-2601) Support REVERSE(str) in SqlFunctions

2018-09-28 Thread winifredtang (JIRA)
winifredtang created CALCITE-2601: - Summary: Support REVERSE(str) in SqlFunctions Key: CALCITE-2601 URL: https://issues.apache.org/jira/browse/CALCITE-2601 Project: Calcite Issue Type:

[jira] [Created] (CALCITE-2600) Support REPEAT(string, integer) in SqlFunctions

2018-09-28 Thread winifredtang (JIRA)
winifredtang created CALCITE-2600: - Summary: Support REPEAT(string, integer) in SqlFunctions Key: CALCITE-2600 URL: https://issues.apache.org/jira/browse/CALCITE-2600 Project: Calcite Issue

[jira] [Created] (CALCITE-2599) Support ASCII(string) in SqlFunctions

2018-09-28 Thread winifredtang (JIRA)
winifredtang created CALCITE-2599: - Summary: Support ASCII(string) in SqlFunctions Key: CALCITE-2599 URL: https://issues.apache.org/jira/browse/CALCITE-2599 Project: Calcite Issue Type:

Re: Help with EnumerableMergeJoinRule which is losing a RelCollection trait

2018-09-28 Thread Stamatis Zampetakis
Have a look in CalcitePrepareImpl ( https://github.com/apache/calcite/blob/3a4fba828f3d9e48749fadd22f134891612b7072/core/src/main/java/org/apache/calcite/prepare/CalcitePrepareImpl.java#L1109 ) Possibly you need a few lines like below: final RelCollation collation = rel instanceof Sort

Re: Help with EnumerableMergeJoinRule which is losing a RelCollection trait

2018-09-28 Thread Enrico Olivelli
Il ven 28 set 2018, 23:00 Stamatis Zampetakis ha scritto: > Hi Enrico, > > I didn't look thoroughly but I suspect that maybe the problem is when you > set the desiredTraits ( > >

Re: Help with EnumerableMergeJoinRule which is losing a RelCollection trait

2018-09-28 Thread Stamatis Zampetakis
Hi Enrico, I didn't look thoroughly but I suspect that maybe the problem is when you set the desiredTraits ( https://github.com/diennea/herddb/blob/0c7c01584350d57d8102511b987e5f880f3f65bd/herddb-core/src/main/java/herddb/sql/CalcitePlanner.java#L449). Apart from the EnumerableConvention, I think

[jira] [Created] (CALCITE-2598) Failure in RexProgramFuzzyTest

2018-09-28 Thread Julian Hyde (JIRA)
Julian Hyde created CALCITE-2598: Summary: Failure in RexProgramFuzzyTest Key: CALCITE-2598 URL: https://issues.apache.org/jira/browse/CALCITE-2598 Project: Calcite Issue Type: Task