fix(sql): collect dependent columns during top-down projection propagation#6600
fix(sql): collect dependent columns during top-down projection propagation#6600bluestreak01 merged 13 commits intomasterfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
core/src/test/java/io/questdb/test/griffin/engine/SqlCompilerImplTest.java
Outdated
Show resolved
Hide resolved
bluestreak01
left a comment
There was a problem hiding this comment.
could you add a test for
select x as a, a as a from t|
Also please check if other models, such as group-by have similar issues? |
test added |
Other query models shouldn't have same issues, because by the time the optimizer reaches this step, function expression it must already in a virtualModelType model. GroupByModel can also have function expressions, but it never has (and does not support) the column where an expression references other columns from the same model. |
[PR Coverage check]😍 pass : 38 / 38 (100.00%) file detail
|
Close #6579