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

    https://github.com/apache/spark/pull/8125#discussion_r36853515
  
    --- 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 --
    
    What about the default value of `spark.sql.small.file.combine` is false, 
and when user find there're many small files in table, `set 
spark.sql.small.file.partition.number=x` instead of calculate the partitionNum.


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