cloud-fan commented on code in PR #49210: URL: https://github.com/apache/spark/pull/49210#discussion_r1893607278
########## sql/core/src/test/resources/sql-tests/results/random.sql.out: ########## @@ -361,6 +361,46 @@ struct<result:string> ceV0PXaR2I +-- !query +SELECT randstr(CAST(10 AS TINYINT), 0) AS result +-- !query schema +struct<result:string> +-- !query output +ceV0PXaR2I + + +-- !query +SELECT randstr(CAST(10 AS BIGINT), 0) AS result +-- !query schema +struct<result:string> +-- !query output +ceV0PXaR2I + + +-- !query +SELECT randstr(1.0F, 0) AS result +-- !query schema +struct<result:string> +-- !query output +c + + +-- !query +SELECT randstr(1.0D, 0) AS result Review Comment: and truncation (from double to int) is allowed? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
