spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-5454) [SQL] Self join with ArrayType columns problems
Date Fri, 30 Jan 2015 01:34:34 GMT

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

Apache Spark commented on SPARK-5454:
-------------------------------------

User 'chenghao-intel' has created a pull request for this issue:
https://github.com/apache/spark/pull/4284

> [SQL] Self join with ArrayType columns problems
> -----------------------------------------------
>
>                 Key: SPARK-5454
>                 URL: https://issues.apache.org/jira/browse/SPARK-5454
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: Pierre Borckmans
>
> Weird behaviour when performing self join on a table with some ArrayType field.  (potential
bug ?) 
> I have set up a minimal non working example here: 
> https://gist.github.com/pierre-borckmans/4853cd6d0b2f2388bf4f
> In a nutshell, if the ArrayType column used for the pivot is created manually in the
StructType definition, everything works as expected. 
> However, if the ArrayType pivot column is obtained by a sql query (be it by using a "array"
wrapper, or using a collect_list operator for instance), then results are completely off.




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

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


Mime
View raw message