maropu commented on a change in pull request #26477: [SPARK-29776][SQL] rpad returning invalid value when parameter is empty URL: https://github.com/apache/spark/pull/26477#discussion_r361247402
########## File path: sql/core/src/test/resources/sql-tests/results/postgreSQL/strings.sql.out ########## @@ -907,7 +907,7 @@ SELECT rpad('hi', 5, '') -- !query 110 schema struct<rpad(hi, 5, ):string> -- !query 110 output -hi +NULL Review comment: Ah, I see. Can you check Oracle and presto, too? They also have NULL for that? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org