File tree Expand file tree Collapse file tree
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ class CastWithAnsiOffSuite extends CastSuiteBase {
6565 }
6666
6767 test(" cast string to date #2" ) {
68- checkEvaluation(Cast (Literal (" 2015-03-18X" ), DateType ), null )
69- checkEvaluation(Cast (Literal (" 2015/03/18" ), DateType ), null )
70- checkEvaluation(Cast (Literal (" 2015.03.18" ), DateType ), null )
71- checkEvaluation(Cast (Literal (" 20150318" ), DateType ), null )
72- checkEvaluation(Cast (Literal (" 2015-031-8" ), DateType ), null )
68+ checkEvaluation(cast (Literal (" 2015-03-18X" ), DateType ), null )
69+ checkEvaluation(cast (Literal (" 2015/03/18" ), DateType ), null )
70+ checkEvaluation(cast (Literal (" 2015.03.18" ), DateType ), null )
71+ checkEvaluation(cast (Literal (" 20150318" ), DateType ), null )
72+ checkEvaluation(cast (Literal (" 2015-031-8" ), DateType ), null )
7373 }
7474
7575 test(" casting to fixed-precision decimals" ) {
You can’t perform that action at this time.
0 commit comments