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

Cheng Lian commented on SPARK-18053:
------------------------------------

Hm, the user mailing list thread said that it fails under 2.0 
https://lists.apache.org/thread.html/%3c1476953644701-27926.p...@n3.nabble.com%3E

I haven't verify it under 2.0 yet.

> ARRAY equality is broken in Spark 2.0
> -------------------------------------
>
>                 Key: SPARK-18053
>                 URL: https://issues.apache.org/jira/browse/SPARK-18053
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0, 2.0.1
>            Reporter: Cheng Lian
>            Assignee: Wenchen Fan
>              Labels: correctness
>
> The following Spark shell reproduces this issue:
> {code}
> case class Test(a: Seq[Int])
> Seq(Test(Seq(1))).toDF().createOrReplaceTempView("t")
> sql("SELECT a FROM t WHERE a = array(1)").show()
> // +---+
> // |  a|
> // +---+
> // +---+
> sql("SELECT a FROM (SELECT array(1) AS a) x WHERE x.a = array(1)").show()
> // +---+
> // |  a|
> // +---+
> // |[1]|
> // +---+
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to