You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2016/10/08 11:36:20 UTC

[jira] [Commented] (SPARK-9783) Use SqlNewHadoopRDD in JSONRelation to eliminate extra refresh() call

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

Hyukjin Kwon commented on SPARK-9783:
-------------------------------------

[~lian cheng][~yhuai] I believe this is closable. Do you mind if I ask to confirm this?

> Use SqlNewHadoopRDD in JSONRelation to eliminate extra refresh() call
> ---------------------------------------------------------------------
>
>                 Key: SPARK-9783
>                 URL: https://issues.apache.org/jira/browse/SPARK-9783
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>
> PR #8035 made a quick fix for SPARK-9743 by introducing an extra {{refresh()}} call in {{JSONRelation.buildScan}}. Obviously it hurts performance. To overcome this, we can use {{SqlNewHadoopRDD}} there and override {{listStatus()}} to inject cached {{FileStatus}} instances, similar as what we did in {{ParquetRelation}}.



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