mirror of
https://github.com/apache/impala.git
synced 2026-01-28 09:03:52 -05:00
This patch fixes a regression introduced in: c6907e4c2eabf5d73f83cc8e16b7f35a13c3b59f IMPALA-1376: Split up Planner into multiple classes. The problem was that in single-node planning the root analyzer was passed to generate the plan for an INSERT/CTAS' query stmt. The fix is to instead pass the stmt's analyzer that contains information about evaluated constant predicates. Change-Id: I551f471c978bc1f6bdff0d98e4826856d1e4860f Reviewed-on: http://gerrit.cloudera.org:8080/191 Reviewed-by: Dimitris Tsirogiannis <dtsirogiannis@cloudera.com> Tested-by: Internal Jenkins