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

Apache Spark reassigned SPARK-21446:
------------------------------------

    Assignee:     (was: Apache Spark)

> [SQL] JDBC Postgres fetchsize parameter ignored again
> -----------------------------------------------------
>
>                 Key: SPARK-21446
>                 URL: https://issues.apache.org/jira/browse/SPARK-21446
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0, 2.1.1, 2.2.0
>            Reporter: Albert Jang
>
> This bug was fixed in https://github.com/apache/spark/pull/9861
> but reappears in spark 2.1 +
> The following code may not be executed in 
> org.apache.spark.sql.jdbc.PostgresDialect because "properties" is 
> "asConnectionProperties" but "asConnectionProperties" can not have "fetchsize"
> {code:java}
> if (properties.getOrElse(JDBCOptions.JDBC_BATCH_FETCH_SIZE, "0").toInt > 0) {
>       connection.setAutoCommit(false)
> }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to