Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.11.2
-
None
-
None
Description
The *OperationVisitor interfaces (which are not public API) don't always implement the visitor pattern correctly, and some things which would be useful are missing. Some things I discovered:
- CatalogSinkModifyOperation doesn't accept() its child. It's likely that others have this problem as well, but I haven't checked further.
- The base Operation interface doesn't have an accept() method at all. Potentially intentional since this interface actually is public API?
- There's a catch-all QueryOperationVisitor#visit(QueryOperation other) that would be nice to split up into its subtypes (PlannerQueryOperation, …)