mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
A boolean slotref predicate that could be pushed into an inline view would not be correctly marked as assigned, leading to an extra select node being introduced to evaluate it. This was because the id of the expression after substitution would change (see createInlineViewPlan()), but only the post-substitution conjunct IDs were marked as assigned. This bug only affected standalone slotrefs; other exprs (like casts, or explicit predicates referencing a slotref) would not change their ID under substitution. Change-Id: I4127528b4aec25c966a4d186ddc98a68502b90c1 Reviewed-on: http://gerrit.ent.cloudera.com:8080/2430 Reviewed-by: Henry Robinson <henry@cloudera.com> Tested-by: jenkins (cherry picked from commit b49bfdf57769615d43d86fcfce2269531640788a) Reviewed-on: http://gerrit.ent.cloudera.com:8080/2435