wangyum commented on a change in pull request #35764:
URL: https://github.com/apache/spark/pull/35764#discussion_r825306738
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCOptions.scala
##########
@@ -111,6 +111,9 @@ class JDBCOptions(
// the number of partitions
val numPartitions = parameters.get(JDBC_NUM_PARTITIONS).map(_.toInt)
+ // the default number of partitions
+ val defaultNumPartitions = parameters.getOrElse(DEFAULT_NUM_PARTITIONS,
"10").toInt
Review comment:
What is the difference between `JDBC_NUM_PARTITIONS`?
--
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]