diff options
author | Anand Avati <avati@redhat.com> | 2014-08-02 00:48:17 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-08-02 00:48:17 -0700 |
commit | 08c095b6647033285e8f6703922bdacecce3fc71 (patch) | |
tree | 4b0323c3f6cad5fe3c99157148253d0ff26ad24c /external/flume-sink/pom.xml | |
parent | 148af6082cdb44840bbd61c7a4f67a95badad10b (diff) | |
download | spark-08c095b6647033285e8f6703922bdacecce3fc71.tar.gz spark-08c095b6647033285e8f6703922bdacecce3fc71.tar.bz2 spark-08c095b6647033285e8f6703922bdacecce3fc71.zip |
[SPARK-1812] sql/catalyst - Provide explicit type information
For Scala 2.11 compatibility.
Without the explicit type specification, withNullability
return type is inferred to be Attribute, and thus calling
at() on the returned object fails in these tests:
[ERROR] /Users/avati/work/spark/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionEvaluationSuite.scala:370: value at is not a
[ERROR] val c4_notNull = 'a.boolean.notNull.at(3)
[ERROR] ^
[ERROR] /Users/avati/work/spark/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionEvaluationSuite.scala:371: value at is not a
[ERROR] val c5_notNull = 'a.boolean.notNull.at(4)
[ERROR] ^
[ERROR] /Users/avati/work/spark/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionEvaluationSuite.scala:372: value at is not a
[ERROR] val c6_notNull = 'a.boolean.notNull.at(5)
[ERROR] ^
[ERROR] /Users/avati/work/spark/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionEvaluationSuite.scala:558: value at is not a
[ERROR] val s_notNull = 'a.string.notNull.at(0)
Signed-off-by: Anand Avati <avatiredhat.com>
Author: Anand Avati <avati@redhat.com>
Closes #1709 from avati/SPARK-1812-notnull and squashes the following commits:
0470eb3 [Anand Avati] SPARK-1812: sql/catalyst - Provide explicit type information
Diffstat (limited to 'external/flume-sink/pom.xml')
0 files changed, 0 insertions, 0 deletions