Github user maropu commented on a diff in the pull request: https://github.com/apache/spark/pull/21173#discussion_r185376634 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCOptions.scala --- @@ -89,6 +89,10 @@ class JDBCOptions( // the number of partitions val numPartitions = parameters.get(JDBC_NUM_PARTITIONS).map(_.toInt) + // the number of seconds the driver will wait for a Statement object to execute to the given + // number of seconds. Zero means there is no limit. + val queryTimeout = parameters.getOrElse(JDBC_QUERY_TIMEOUT, "0").toInt --- End diff -- You suggested here? https://github.com/apache/spark/blob/6782359a04356e4cde32940861bf2410ef37f445/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala#L257 I feel it's enough to update a doc for parameter.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org