You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2026/08/13 23:03:00 UTC
[jira] [Created] (CALCITE-7717) Add a Collect.isValid method to check type invariants
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)