Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.0.0
-
None
-
None
-
Spark 3.0 on Databricks Runtime 7.1
Description
The following Spark SQL query throws an exception
select sequence(current_timestamp, current_timestamp)
The error is:
java.lang.ArrayIndexOutOfBoundsException: 1 at scala.runtime.ScalaRunTime$.array_update(ScalaRunTime.scala:78)
Essentially a copy of https://issues.apache.org/jira/browse/SPARK-31980#