aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorDilip Biswal <dbiswal@us.ibm.com>2017-03-08 17:33:49 -0800
committerXiao Li <gatorsmile@gmail.com>2017-03-08 17:33:49 -0800
commitd809ceed9762d5bbb04170e45f38751713112dd8 (patch)
tree066b3cfd931db03ab5b6203a9adca6226c327aa6 /sql/hive
parenta3648b5d4f99ff9461d02f53e9ec71787a3abf51 (diff)
downloadspark-d809ceed9762d5bbb04170e45f38751713112dd8.tar.gz
spark-d809ceed9762d5bbb04170e45f38751713112dd8.tar.bz2
spark-d809ceed9762d5bbb04170e45f38751713112dd8.zip
[MINOR][SQL] The analyzer rules are fired twice for cases when AnalysisException is raised from analyzer.
## What changes were proposed in this pull request? In general we have a checkAnalysis phase which validates the logical plan and throws AnalysisException on semantic errors. However we also can throw AnalysisException from a few analyzer rules like ResolveSubquery. I found that we fire up the analyzer rules twice for the queries that throw AnalysisException from one of the analyzer rules. This is a very minor fix. We don't have to strictly fix it. I just got confused seeing the rule getting fired two times when i was not expecting it. ## How was this patch tested? Tested manually. Author: Dilip Biswal <dbiswal@us.ibm.com> Closes #17214 from dilipbiswal/analyis_twice.
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions