Skip to content
Snippets Groups Projects
Unverified Commit 517f3983 authored by genmao.ygm's avatar genmao.ygm Committed by Sean Owen
Browse files

[SPARK-18379][SQL] Make the parallelism of parallelPartitionDiscovery configurable.


## What changes were proposed in this pull request?

The largest parallelism in PartitioningAwareFileIndex #listLeafFilesInParallel() is 10000 in hard code. We may need to make this number configurable. And in PR, I reduce it to 100.

## How was this patch tested?

Existing ut.

Author: genmao.ygm <genmao.ygm@genmaoygmdeMacBook-Air.local>
Author: dylon <hustyugm@gmail.com>

Closes #15829 from uncleGen/SPARK-18379.

(cherry picked from commit 745ab8bc)
Signed-off-by: default avatarSean Owen <sowen@cloudera.com>
parent 63857c8d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment