[jira] [Created] (CALCITE-5529) Improve dialect tests

2023-02-14 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-5529: Summary: Improve dialect tests Key: CALCITE-5529 URL: https://issues.apache.org/jira/browse/CALCITE-5529 Project: Calcite Issue Type: Bug

[jira] [Created] (CALCITE-5528) RelOptRulesTest testPushAggregateThroughJoin7 optimized query not equivalent to the original one

2023-02-14 Thread Pinhan Zhao (Jira)
Pinhan Zhao created CALCITE-5528: Summary: RelOptRulesTest testPushAggregateThroughJoin7 optimized query not equivalent to the original one Key: CALCITE-5528 URL:

[jira] [Created] (CALCITE-5527) RelOptRulesTest testAnyInProjectNullable optimized query not equivalent to the original one

2023-02-14 Thread Pinhan Zhao (Jira)
Pinhan Zhao created CALCITE-5527: Summary: RelOptRulesTest testAnyInProjectNullable optimized query not equivalent to the original one Key: CALCITE-5527 URL: https://issues.apache.org/jira/browse/CALCITE-5527

Re: RexExecutorImpl and RexSubQuery

2023-02-14 Thread Jonathan Sternberg
I took a deeper look today following your recommendation and ran into a problem when I got into the implementation of the program builder. I think the problem might be higher up since the error appears to be that it's attempting to reduce a subquery as a constant. I found this section of code: