[
https://issues.apache.org/jira/browse/CALCITE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-7717:
------------------------------------
Labels: pull-request-available (was: )
> Add a Collect.isValid method to check type invariants
> -----------------------------------------------------
>
> Key: CALCITE-7717
> URL: https://issues.apache.org/jira/browse/CALCITE-7717
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Trivial
> Labels: pull-request-available
>
> The isValid method is supposed to check invariants for subclasses of
> AbstractRelNode.
> Collect does not have such a method.
> While working on solving some bugs I have discovered that some rewrites
> produce malformed Collect nodes after validation, yet the plans do not reject
> them. Adding this validation would enable us to catch such bugs sooner.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)