wangyum opened a new pull request #24743: [WIP][SPARK-27883][SQL] Port 
AGGREGATES.sql [Part 2]
URL: https://github.com/apache/spark/pull/24743
 
 
   ## 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/REL_12_BETA1/src/test/regress/sql/aggregates.sql#L145-L350
   
   The expected results can be found in the link: 
https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/expected/aggregates.out#L499-L984
   
   When porting the test cases, found four PostgreSQL specific features that do 
not exist in Spark SQL:
   
   - [SPARK-27877](https://issues.apache.org/jira/browse/SPARK-27877): 
Implement SQL-standard LATERAL subqueries
   - [SPARK-27878](https://issues.apache.org/jira/browse/SPARK-27878): Support 
ARRAY(sub-SELECT) expressions
   - [SPARK-27879](https://issues.apache.org/jira/browse/SPARK-27879): 
Implement bitwise integer aggregates(BIT_AND and BIT_OR)
   - [SPARK-27880](https://issues.apache.org/jira/browse/SPARK-27880): 
Implement boolean aggregates(BOOL_AND, BOOL_OR and EVERY)
   
   
   
   ## 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