[
https://issues.apache.org/jira/browse/CALCITE-4218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17189649#comment-17189649
]
Julian Hyde commented on CALCITE-4218:
--------------------------------------
All {{RelMetadataQuery}} methods are allowed to return null.
{{RelMetadataQuery}} is a facade on top of providers, and they may have
incomplete and imperfect information.
I don't know whether CALCITE-3969 broke this.
> Clarify RelMetadataQuery#getDistribution nullability
> ----------------------------------------------------
>
> Key: CALCITE-4218
> URL: https://issues.apache.org/jira/browse/CALCITE-4218
> Project: Calcite
> Issue Type: Sub-task
> Components: core
> Affects Versions: 1.25.0
> Reporter: Vladimir Sitnikov
> Priority: Major
>
> It looks like {{null}} is the same as {{RelDistributions.ANY}}, so we might
> want to make {{RelDistribution}} non-nullable.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)