AngersZhuuuu commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM 
with aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-548675869
 
 
   > Another test query:
   > 
   > ```
   > SELECT TRANSFORM(key, abs(key))
   > USING 'cat'
   > FROM (SELECT DISTINCT key FROM src);
   > ```
   > 
   > The physical plan looks different with this PR applied. in particular, 
HashAggregate gets another output column, while it should be just one:
   > 
   > `HashAggregate(keys=[key#18], functions=[], output=[key#18, 
**another_output**]) `
   
   Since we can solve every thing with path a `Seq(UnresolvedStar(None))` to` 
ScriptTrasnform`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to