xuanyuanking commented on a change in pull request #26763: [SPARK-30125][SQL]
Remove PostgreSQL dialect
URL: https://github.com/apache/spark/pull/26763#discussion_r355956704
##########
File path: sql/core/src/test/resources/sql-tests/inputs/postgreSQL/int2.sql
##########
@@ -92,9 +92,11 @@ WHERE f1 > -32767;
SELECT '' AS five, i.f1, i.f1 - int('2') AS x FROM INT2_TBL i;
-SELECT '' AS five, i.f1, i.f1 / smallint('2') AS x FROM INT2_TBL i;
+-- PostgreSQL `/` is the same with Spark `div` since SPARK-2659.
+SELECT '' AS five, i.f1, i.f1 div smallint('2') AS x FROM INT2_TBL i;
Review comment:
Copy that, also changed the test result in 17a3c77.
----------------------------------------------------------------
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]