maropu commented on a change in pull request #31372: URL: https://github.com/apache/spark/pull/31372#discussion_r565784546
########## File path: sql/core/src/test/resources/sql-tests/results/udf/postgreSQL/udf-aggregates_part1.sql.out ########## @@ -109,7 +109,7 @@ struct<udf(var_samp(b)):double> -- !query SELECT udf(stddev_pop(CAST(b AS Decimal(38,0)))) FROM aggtest -- !query schema -struct<udf(stddev_pop(CAST(b AS DECIMAL(38,0)))):double> +struct<udf(stddev_pop(ansi_cast(b as decimal(38,0)))):double> Review comment: Why do we need this change? ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org