dongjoon-hyun commented on code in PR #46278: URL: https://github.com/apache/spark/pull/46278#discussion_r1583392857
########## connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala: ########## @@ -808,6 +808,33 @@ class SparkSession private[sql] ( client.clearTags() } + /** + * Set the scheduler pool used to execute all the operations by this thread in this session. + * + * Spark supports FIFO scheduler (default) and Fair scheduler. When fair scheduler is enabled, + * jobs will be grouped into pools and each pool gets an assigned share of cluster resources. + * Application programmers can use this method to assign a pool to all the operations started + * by this thread in this session. This pool should exists in the server. If not, will + * fallback to FIFO scheduler. + * + * Note: this doesn't make sense for FIFO scheduler. Review Comment: ? Shall we remove this simply? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org