gatorsmile opened a new pull request #24640: [SPARK-27770] [SQL] [TEST] Port 
AGGREGATES.sql [Part 1]
URL: https://github.com/apache/spark/pull/24640
 
 
   ## What changes were proposed in this pull request?
   
   This PR is to port AGGREGATES.sql from PostgreSQL regression tests. 
https://github.com/postgres/postgres/blob/02ddd499322ab6f2f0d58692955dc9633c2150fc/src/test/regress/sql/aggregates.sql#L1-L143
   
   The expected results can be found in the link: 
https://github.com/postgres/postgres/blob/master/src/test/regress/expected/aggregates.out
   
   When porting the test cases, found three PostgreSQL specific features that 
do not exist in Spark SQL.
   - https://issues.apache.org/jira/browse/SPARK-27765: Type Casts: 
expression::type
   - https://issues.apache.org/jira/browse/SPARK-27766: Data type: POINT(x, y)
   - https://issues.apache.org/jira/browse/SPARK-27767: Built-in function: 
generate_series
   
   Also, found two bugs:
   - https://issues.apache.org/jira/browse/SPARK-27768: Incorrect statistical 
aggregate results when the inputs have constants infinity
   - https://issues.apache.org/jira/browse/SPARK-27769: Handling of sublinks 
within outer-level aggregates.
   
   ## How was this patch tested?
   N/A

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