[ 
https://issues.apache.org/jira/browse/SPARK-37307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-37307:
------------------------------------

    Assignee: Apache Spark

> Don't obtain JDBC connection for empty partition
> ------------------------------------------------
>
>                 Key: SPARK-37307
>                 URL: https://issues.apache.org/jira/browse/SPARK-37307
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.2.0
>            Reporter: Sean R. Owen
>            Assignee: Apache Spark
>            Priority: Minor
>
> In JdbcUtils.scala:savePartition, the code obtains a database connection even 
> when there is no data in the partition. It works correctly and returns it, 
> but, may be advantageous to simply skip that and other overhead if nothing 
> will be written at all.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to