diff options
author | Wenchen Fan <wenchen@databricks.com> | 2015-11-13 11:13:09 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-11-13 11:13:09 -0800 |
commit | 23b8188f75d945ef70fbb1c4dc9720c2c5f8cbc3 (patch) | |
tree | 637f94c371b0f360eddc48837190015089fda784 /sql/core/src/test/java | |
parent | a24477996e936b0861819ffb420f763f80f0b1da (diff) | |
download | spark-23b8188f75d945ef70fbb1c4dc9720c2c5f8cbc3.tar.gz spark-23b8188f75d945ef70fbb1c4dc9720c2c5f8cbc3.tar.bz2 spark-23b8188f75d945ef70fbb1c4dc9720c2c5f8cbc3.zip |
[SPARK-11654][SQL][FOLLOW-UP] fix some mistakes and clean up
* rename `AppendColumn` to `AppendColumns` to be consistent with the physical plan name.
* clean up stale comments.
* always pass in resolved encoder to `TypedColumn.withInputType`(test added)
* enable a mistakenly disabled java test.
Author: Wenchen Fan <wenchen@databricks.com>
Closes #9688 from cloud-fan/follow.
Diffstat (limited to 'sql/core/src/test/java')
-rw-r--r-- | sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java b/sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java index 46169ca07d..eb6fa1e72e 100644 --- a/sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java +++ b/sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java @@ -157,6 +157,7 @@ public class JavaDatasetSuite implements Serializable { Assert.assertEquals(6, reduced); } + @Test public void testGroupBy() { List<String> data = Arrays.asList("a", "foo", "bar"); Dataset<String> ds = context.createDataset(data, Encoders.STRING()); |