Cheng Lian created SPARK-9743:
---------------------------------

             Summary: Scanning a HadoopFsRelation shouldn't requrire refreshing
                 Key: SPARK-9743
                 URL: https://issues.apache.org/jira/browse/SPARK-9743
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.5.0
            Reporter: Cheng Lian
            Assignee: Cheng Lian
            Priority: Blocker


PR #7969 added {{HadoopFsRelation.refresh()}} calls in {{DataSourceStrategy}} 
to make test case {{InsertSuite.save directly to the path of a JSON table}} 
pass. However, this forces every {{HadoopFsRelation}} table scan to do a 
refreshing, which can be super expensive for tables with large number of 
partitions.



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