Skip to content

Commit

Permalink
fix the non-consistency for `spark.rapids.sql.format.parquet.multiThr…
Browse files Browse the repository at this point in the history
…eadedRead` in RapidsConf.scala (NVIDIA#875)

* fixing spark.rapids.sql.format.parquet.multiThreadedRead.{maxNumFileProcessed,maxNumFilesParallel}
in configs.md

Signed-off-by: houyu <houyu02@baidu.com>

* fixing spark.rapids.sql.format.parquet.multiThreadedRead.{maxNumFileProcessed,maxNumFilesParallel}
in configs.md

Signed-off-by: houyu <houyu02@baidu.com>
  • Loading branch information
0.alpha authored Sep 29, 2020
1 parent 629efb0 commit 77c8740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Name | Description | Default Value
<a name="sql.format.orc.read.enabled"></a>spark.rapids.sql.format.orc.read.enabled|When set to false disables orc input acceleration|true
<a name="sql.format.orc.write.enabled"></a>spark.rapids.sql.format.orc.write.enabled|When set to false disables orc output acceleration|true
<a name="sql.format.parquet.enabled"></a>spark.rapids.sql.format.parquet.enabled|When set to false disables all parquet input and output acceleration|true
<a name="sql.format.parquet.multiThreadedRead.enabled"></a>spark.rapids.sql.format.parquet.multiThreadedRead.enabled|When set to true, reads multiple small files within a partition more efficiently by reading each file in a separate thread in parallel on the CPU side before sending to the GPU. Limited by spark.rapids.sql.format.parquet.multiThreadedRead.numThreads and spark.rapids.sql.format.parquet.multiThreadedRead.maxNumFileProcessed|true
<a name="sql.format.parquet.multiThreadedRead.enabled"></a>spark.rapids.sql.format.parquet.multiThreadedRead.enabled|When set to true, reads multiple small files within a partition more efficiently by reading each file in a separate thread in parallel on the CPU side before sending to the GPU. Limited by spark.rapids.sql.format.parquet.multiThreadedRead.numThreads and spark.rapids.sql.format.parquet.multiThreadedRead.maxNumFilesParallel|true
<a name="sql.format.parquet.multiThreadedRead.maxNumFilesParallel"></a>spark.rapids.sql.format.parquet.multiThreadedRead.maxNumFilesParallel|A limit on the maximum number of files per task processed in parallel on the CPU side before the file is sent to the GPU. This affects the amount of host memory used when reading the files in parallel.|2147483647
<a name="sql.format.parquet.multiThreadedRead.numThreads"></a>spark.rapids.sql.format.parquet.multiThreadedRead.numThreads|The maximum number of threads, on the executor, to use for reading small parquet files in parallel. This can not be changed at runtime after the executor has started.|20
<a name="sql.format.parquet.read.enabled"></a>spark.rapids.sql.format.parquet.read.enabled|When set to false disables parquet input acceleration|true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ object RapidsConf {
"by reading each file in a separate thread in parallel on the CPU side before " +
"sending to the GPU. Limited by " +
"spark.rapids.sql.format.parquet.multiThreadedRead.numThreads " +
"and spark.rapids.sql.format.parquet.multiThreadedRead.maxNumFileProcessed")
"and spark.rapids.sql.format.parquet.multiThreadedRead.maxNumFilesParallel")
.booleanConf
.createWithDefault(true)

Expand Down

0 comments on commit 77c8740

Please sign in to comment.