Mihai Budiu created CALCITE-7717:
------------------------------------

             Summary: 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


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)

Reply via email to