aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorgatorsmile <gatorsmile@gmail.com>2016-10-17 11:33:06 -0700
committerHerman van Hovell <hvanhovell@databricks.com>2016-10-17 11:33:06 -0700
commitd88a1bae6a9c975c39549ec2326d839ea93949b2 (patch)
tree37c9a6b7db74fe0beba31d76df23b1830c224c4f /sql/hive
parentc7ac027d5fd7a80d3122a9269b2bb9c28c6a57db (diff)
downloadspark-d88a1bae6a9c975c39549ec2326d839ea93949b2.tar.gz
spark-d88a1bae6a9c975c39549ec2326d839ea93949b2.tar.bz2
spark-d88a1bae6a9c975c39549ec2326d839ea93949b2.zip
[SPARK-17751][SQL] Remove spark.sql.eagerAnalysis and Output the Plan if Existed in AnalysisException
### What changes were proposed in this pull request? Dataset always does eager analysis now. Thus, `spark.sql.eagerAnalysis` is not used any more. Thus, we need to remove it. This PR also outputs the plan. Without the fix, the analysis error is like ``` cannot resolve '`k1`' given input columns: [k, v]; line 1 pos 12 ``` After the fix, the analysis error becomes: ``` org.apache.spark.sql.AnalysisException: cannot resolve '`k1`' given input columns: [k, v]; line 1 pos 12; 'Project [unresolvedalias(CASE WHEN ('k1 = 2) THEN 22 WHEN ('k1 = 4) THEN 44 ELSE 0 END, None), v#6] +- SubqueryAlias t +- Project [_1#2 AS k#5, _2#3 AS v#6] +- LocalRelation [_1#2, _2#3] ``` ### How was this patch tested? N/A Author: gatorsmile <gatorsmile@gmail.com> Closes #15316 from gatorsmile/eagerAnalysis.
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions