We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ced9b0 commit c3e472aCopy full SHA for c3e472a
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
@@ -851,6 +851,10 @@ class SQLQuerySuite extends QueryTest {
851
}
852
853
854
+ test("Cast STRING to BIGINT") {
855
+ checkAnswer(sql("SELECT CAST('775983671874188101' as BIGINT)"), Row(775983671874188101L))
856
+ }
857
+
858
// `Math.exp(1.0)` has different result for different jdk version, so not use createQueryTest
859
test("udf_java_method") {
860
checkAnswer(sql(
0 commit comments