Github user lresende commented on a diff in the pull request:
https://github.com/apache/spark/pull/11623#discussion_r58480607
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/DatasetAggregatorSuite.scala ---
@@ -176,4 +186,13 @@ class DatasetAggregatorSuite extends QueryTest with
SharedSQLContext {
typed.avg(_._2), typed.count(_._2), typed.sum(_._2),
typed.sumLong(_._2)),
("a", 2.0, 2L, 4.0, 4L), ("b", 3.0, 1L, 3.0, 3L))
}
+
+ test("SPARK-12555 - result should not be corrupted after input columns
are reordered") {
+ val ds = sql("SELECT 1279869254 AS a, 'Some String' AS
b").as[AggData]
--- End diff --
Copy and paste issue, fixed indentation.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]