calcite
calcite copied to clipboard
[CALCITE-4808] Adding assertion to RelOptUtil.getVariablesUsed
trafficstars
- Adding assertion to RelOptUtil.getVariablesUsed when a variable is used out of context.
- Changing RelBuilderTest.testFilterWithCorrelationVariables which was build an illegal relNode.
Could you merge the commits to one and rebase the PR, @jamesstarr ?
I am not sure why the test is not passing. It might be something wrong with the CI.