[ 
https://issues.apache.org/jira/browse/SPARK-32425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165634#comment-17165634
 ] 

JinxinTang commented on SPARK-32425:
------------------------------------

cc [~viirya]  Because I have fixed it by 
https://issues.apache.org/jira/browse/SPARK-31980#

:  )
 

> 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
>            Priority: Minor
>
> 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}
>  Essentially a copy of https://issues.apache.org/jira/browse/SPARK-31980#



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to