Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8125#discussion_r36847603
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala ---
    @@ -283,7 +284,7 @@ class HadoopTableReader(
           _minSplitsPerRDD)
     
         // Only take the value (skip the key) because Hive works only with 
values.
    -    rdd.map(_._2)
    +    CombineSmallFile.combineWithPath(rdd, sc, path).map(_._2)
    --- End diff --
    
    Listing files located on S3 can be very slow, and this call leads to really 
bad performance for partitioned tables with a large number of partitions.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to