vinodkc commented on code in PR #38419:
URL: https://github.com/apache/spark/pull/38419#discussion_r1088405813


##########
sql/core/src/test/resources/sql-tests/inputs/trunc.sql:
##########
@@ -0,0 +1,136 @@
+-- trunc decimal

Review Comment:
   @srielau , I've updated the code to match and added test cases in 
sql/core/src/test/resources/sql-tests/inputs/trunc.sql
   Ref : sql/core/src/test/resources/sql-tests/results/trunc.sql.out
   struct<truncnumber(CAST(123456789.123456789 AS DECIMAL(18,9)), 
8):decimal(18,9)>



-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

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

Reply via email to