Stevo Mitric created SPARK-48619:
------------------------------------

             Summary: Fix GROUP BY MapType feature
                 Key: SPARK-48619
                 URL: https://issues.apache.org/jira/browse/SPARK-48619
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.4.3
            Reporter: Stevo Mitric


There are issues in the current implementation, which causes broken plans to be 
produced:
 * The InsertMapSortInGroupingExpressions transformation only replaces the 
grouping expressions with mapsort, not the aggregate expressions. This causes 
broken plans like select c from t group by mapsort(c), where c now becomes a 
non-aggregating expression.

 * Parent operators referencing the transformed columns are not updated, which 
means that we know have broken references.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to