Github user maryannxue commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22519#discussion_r219624067
  
    --- Diff: sql/core/src/test/resources/sql-tests/inputs/pivot.sql ---
    @@ -287,3 +287,13 @@ PIVOT (
       sum(earnings)
       FOR (course, m) IN (('dotNET', map('1', 1)), ('Java', map('2', 2)))
     );
    +
    +-- grouping columns output in the same order as input
    +SELECT * FROM (
    +  SELECT course, earnings, "a" as a, "z" as z, "b" as b, "y" as y, "c" as 
c, "x" as x, "d" as d, "w" as w
    --- End diff --
    
    It wouldn't hurt anyway I think...


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to