aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorMichael Armbrust <michael@databricks.com>2015-05-12 13:36:55 -0700
committerReynold Xin <rxin@databricks.com>2015-05-12 13:36:55 -0700
commit2a41c0d71a13558f12c6811bf98791e01186f3ad (patch)
treea566c930829d3dedbb77df4edf82cee703da6365 /mllib
parent595a67589a42f8025d3e5fd4da413b1faa2e14bf (diff)
downloadspark-2a41c0d71a13558f12c6811bf98791e01186f3ad.tar.gz
spark-2a41c0d71a13558f12c6811bf98791e01186f3ad.tar.bz2
spark-2a41c0d71a13558f12c6811bf98791e01186f3ad.zip
[SPARK-7569][SQL] Better error for invalid binary expressions
`scala> Seq((1,1)).toDF("a", "b").select(lit(1) + new java.sql.Date(1)) ` Before: ``` org.apache.spark.sql.AnalysisException: invalid expression (1 + 0) between Literal 1, IntegerType and Literal 0, DateType; ``` After: ``` org.apache.spark.sql.AnalysisException: invalid expression (1 + 0) between int and date; ``` Author: Michael Armbrust <michael@databricks.com> Closes #6089 from marmbrus/betterBinaryError and squashes the following commits: 23b68ad [Michael Armbrust] [SPARK-7569][SQL] Better error for invalid binary expressions
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions