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

Haisheng Yuan commented on CALCITE-3993:
----------------------------------------

It just adds the method. I didn't use the API in the code.

> 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