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

Cheng Lian updated SPARK-9783:
------------------------------
         Sprint: Spark 1.5 doc/QA sprint
    Environment:     (was: 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}}.)
    Description: 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}}.

> 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
>            Priority: Blocker
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to