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

Apache Spark commented on SPARK-8680:
-------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/7087

> PropagateTypes is very slow when there are lots of columns
> ----------------------------------------------------------
>
>                 Key: SPARK-8680
>                 URL: https://issues.apache.org/jira/browse/SPARK-8680
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Davies Liu
>
> The time for PropagateTypes is O(N*N), N is the number of columns, which is 
> very slow if there many columns (>1000)
> There easiest optimization could be put `q.inputSet` outside of  
> transformExpressions which could have about 4 times improvement for N=3000



--
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