wangyum commented on a change in pull request #34810:
URL: https://github.com/apache/spark/pull/34810#discussion_r765863255
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala
##########
@@ -608,7 +608,8 @@ case class FileSourceScanExec(
fsRelation: HadoopFsRelation): RDD[InternalRow] = {
val openCostInBytes =
fsRelation.sparkSession.sessionState.conf.filesOpenCostInBytes
val maxSplitBytes =
- FilePartition.maxSplitBytes(fsRelation.sparkSession, selectedPartitions)
+ FilePartition.maxSplitBytes(fsRelation.sparkSession, selectedPartitions,
+ new SourceOptions(fsRelation.options).parallel)
Review comment:
Yes. This is the first step. Will support the hint in following pull
request.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]