Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Caused by: java.lang.AssertionError at org.apache.calcite.sql2rel.RelDecorrelator.decorrelateRel(RelDecorrelator.java:456)
The code is:
final Frame frame = getInvoke(oldInput, rel); if (frame == null) { // If input has not been rewritten, do not rewrite this rel. return null; } assert !frame.corVarOutputPos.isEmpty();
Seems like it's no need to assert the corVarOutputPos because in some cases, the correlate has been fully rewritten.
Attachments
Issue Links
- links to