You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lauri Koobas (Jira)" <ji...@apache.org> on 2020/07/24 09:03:00 UTC

[jira] [Updated] (SPARK-32425) Spark sequence() fails if start and end of range are identical timestamps

     [ https://issues.apache.org/jira/browse/SPARK-32425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lauri Koobas updated SPARK-32425:
---------------------------------
    Description: 
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#

  was:
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}
 


> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org