Lauri Koobas created SPARK-32425:
------------------------------------
Summary: Spark sequence() fails if start and end of range are
identical timestamps
Key: SPARK-32425
URL: https://issues.apache.org/jira/browse/SPARK-32425
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.0.0
Environment: Spark 3.0 on Databricks Runtime 7.1
Reporter: Lauri Koobas
The following Spark SQL query throws an exception
{code:java}
select sequence(current_timestamp, current_timestamp)
{code}
The error is:
{noformat}
java.lang.ArrayIndexOutOfBoundsException: 1
at
scala.runtime.ScalaRunTime$.array_update(ScalaRunTime.scala:78){noformat}
Â
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]