Re: Re: [DISCUSS] RelCompositeTrait

2019-04-14 Thread Haisheng Yuan
> There are major challenges with asking for particular traits as well. Imagine a desired aggregate on 7 columns. What does the requestor request with regards to distribution? All seven columns? One column? Some combination in between? The same challenges exist for enumerating all the traits as we

Re: [DISCUSS] RelCompositeTrait

2019-04-14 Thread Jacques Nadeau
There are major challenges with asking for particular traits as well. Imagine a desired aggregate on 7 columns. What does the requestor request with regards to distribution? All seven columns? One column? Some combination in between? The trait system in Calcite is very challenging to work with beca

[jira] [Created] (CALCITE-2998) RexCopier should support all rex types

2019-04-14 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2998: Summary: RexCopier should support all rex types Key: CALCITE-2998 URL: https://issues.apache.org/jira/browse/CALCITE-2998 Project: Calcite Issue Type: Improv

Re: Join, SemiJoin, Correlate

2019-04-14 Thread Hongze Zhang
I didn't take look on the PR in detail so far, but it seems that a topic about backward compatibility would be worth to discuss anyway. Regarding the Enumerable's API, I don't think there are many use cases of them from Calcite users. Although users may create instances in some custom rules, or