diff options
author | Reynold Xin <rxin@databricks.com> | 2015-01-27 18:10:49 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-01-27 18:10:49 -0800 |
commit | d74373225ef78cabd6b76830439d6b4936b0c4a6 (patch) | |
tree | 402e0b23a635dd13704161a74ae34c947d064ec1 /sql/catalyst | |
parent | 119f45d61d7b48d376cca05e1b4f0c7fcf65bfa8 (diff) | |
download | spark-d74373225ef78cabd6b76830439d6b4936b0c4a6.tar.gz spark-d74373225ef78cabd6b76830439d6b4936b0c4a6.tar.bz2 spark-d74373225ef78cabd6b76830439d6b4936b0c4a6.zip |
[SPARK-5097][SQL] Test cases for DataFrame expressions.
Author: Reynold Xin <rxin@databricks.com>
Closes #4235 from rxin/df-tests1 and squashes the following commits:
f341db6 [Reynold Xin] [SPARK-5097][SQL] Test cases for DataFrame expressions.
Diffstat (limited to 'sql/catalyst')
-rw-r--r-- | sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/rows.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/rows.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/rows.scala index 8df150e2f8..73ec7a6d11 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/rows.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/rows.scala @@ -114,7 +114,6 @@ class GenericRow(protected[sql] val values: Array[Any]) extends Row { } override def getString(i: Int): String = { - if (values(i) == null) sys.error("Failed to check null bit for primitive String value.") values(i).asInstanceOf[String] } |