[ 
https://issues.apache.org/jira/browse/CALCITE-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17106628#comment-17106628
 ] 

Xiening Dai commented on CALCITE-3993:
--------------------------------------

I understand it's new. You claim it's an extremely frequent usage case to check 
if distribution/collation is default. But in your PR, it's not been used 
anywhere at all.

> Add isDefault(), keys(), keyBits() to RelTrait interface
> --------------------------------------------------------
>
>                 Key: CALCITE-3993
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3993
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Haisheng Yuan
>            Priority: Major
>
> It is an extremely frequent usage to check whether the distribution is 
> default (ANY), the collation is default (EMPTY).
> Also add the following to RelDistribution and RelCollation
> {code:java}
> ImmutableIntList getKeys();
> ImmutableBitSet getKeysBits();
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to