wangyum opened a new pull request #24862: [WIP][SPARK-28038][SQL][TEST] Port 
text.sql
URL: https://github.com/apache/spark/pull/24862
 
 
   ## What changes were proposed in this pull request?
   
   This PR is to port text.sql from PostgreSQL regression tests. 
https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/sql/text.sql
   
   The expected results can be found in the link: 
https://github.com/postgres/postgres/blob/REL_12_BETA1/src/test/regress/expected/text.out
   
   When porting the test cases, found a PostgreSQL specific features that do 
not exist in Spark SQL:
   [SPARK-28037](https://issues.apache.org/jira/browse/SPARK-28037): Add 
built-in String Functions: quote_literal
   
   Also, found a bug:
   [SPARK-28033](https://issues.apache.org/jira/browse/SPARK-28033): String 
concatenation low priority than other operators
   
   Also, found two inconsistent behavior:
   [SPARK-27930](https://issues.apache.org/jira/browse/SPARK-27930): Spark 
SQL's format_string can not fully support PostgreSQL's format
   [SPARK-28036](https://issues.apache.org/jira/browse/SPARK-28036):  Built-in 
udf left/right has inconsistent behavior
   
   ## 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