cloud-fan commented on a change in pull request #26933: [SPARK-30292][SQL]Throw 
Exception when invalid string is cast to numeric type in ANSI mode
URL: https://github.com/apache/spark/pull/26933#discussion_r363357485
 
 

 ##########
 File path: 
sql/core/src/test/resources/sql-tests/results/postgreSQL/float4.sql.out
 ##########
 @@ -91,291 +91,259 @@ struct<CAST(          -INFINiTY    AS FLOAT):float>
 
 
 -- !query 11
-SELECT float('N A N')
--- !query 11 schema
-struct<CAST(N A N AS FLOAT):float>
--- !query 11 output
-NULL
 
 Review comment:
   I tried it in pgsql and it fails. Let's regenerate the answer files.

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

Reply via email to