Skip to content

Commit

Permalink
Trim string whitespace so it should be true
Browse files Browse the repository at this point in the history
  • Loading branch information
younggyu chun committed Aug 16, 2019
1 parent 933fe86 commit a5aec9f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -23,7 +23,7 @@ SELECT false AS `false`;
SELECT boolean('t') AS true;

-- [SPARK-27931] Trim the string when cast string type to boolean type
SELECT boolean(' f ') AS `false`;
SELECT boolean(' f ') AS `true`;

SELECT boolean('true') AS true;

Expand Down

0 comments on commit a5aec9f

Please sign in to comment.