AngersZhuuuu opened a new pull request #25028: [SPARK-28227][SQL] Support 
TRANSFORM with aggregation.
URL: https://github.com/apache/spark/pull/25028
 
 
   ## What changes were proposed in this pull request?
   For Spark SQL, it can't support sql like :
   `SELECT TRANSFORM ( d2, max(d1) as maxd1, cast(sum(d3) as string))`
   `USING 'cat' AS (a,b,c)`
   `FROM script_trans`
   `WHERE d1 <= 100`
   `GROUP BY d2`
   `HAVING maxd1 > 0`
   
   But in hive, it can support this kind SQL.
   This makes our SQL migration difficult and complex。
   This PR is to support use Aggregation with TRANSFORM and make SQL migration 
from Hive to Sparkeasier.
   
   
   ## How was this patch tested?
   
   Added unit test.

----------------------------------------------------------------
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