Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19692#discussion_r150734871
--- Diff:
sql/core/src/test/resources/sql-tests/results/predicate-functions.sql.out ---
@@ -197,7 +197,7 @@ true
-- !query 24
select 2.0 <= '2.2'
-- !query 24 schema
-struct<(2.0 <= CAST(2.2 AS DECIMAL(2,1))):boolean>
+struct<(CAST(2.0 AS DOUBLE) <= CAST(2.2 AS DOUBLE)):boolean>
-- !query 24 output
true
--- End diff --
Add a test case in this file?
select '1.5' > 0.5
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]