Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/14660#discussion_r75464633
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
@@ -243,6 +243,14 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val PARQUET_READ_SCHEMA_LOCAL_THRESHOLD =
+ SQLConfigBuilder("spark.sql.parquet.readSchemaLocalThreshold")
+ .doc("Configures the maximum number of files to allow reading schema
in driver-side. " +
+ "If the number of files exceeds this value, then schemas will be
read then in parallel " +
+ "via another Spark distributed job.")
+ .intConf
+ .createWithDefault(32)
--- End diff --
I increased this to 32 identical with
`spark.sql.sources.parallelPartitionDiscovery.threshold` because it seems this
option is pretty similar with this.
---
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]