diff options
author | Prince J Wesley <princejohnwesley@gmail.com> | 2016-08-07 12:18:11 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-07 12:18:11 +0100 |
commit | bdfab9f942dcad7c1f3de9b6df5c01dee2392055 (patch) | |
tree | 24e18856afa0d25f3480aec6c367a30e63b12e33 /sql/catalyst/src/main/scala/org/apache | |
parent | 6c1ecb191bc086290e33d56b6a5706d962e84a3a (diff) | |
download | spark-bdfab9f942dcad7c1f3de9b6df5c01dee2392055.tar.gz spark-bdfab9f942dcad7c1f3de9b6df5c01dee2392055.tar.bz2 spark-bdfab9f942dcad7c1f3de9b6df5c01dee2392055.zip |
[SPARK-16909][SPARK CORE] Streaming for postgreSQL JDBC driver
As per the postgreSQL JDBC driver [implementation](https://github.com/pgjdbc/pgjdbc/blob/ab2a6d89081fc2c1fdb2a8600f413db33669022c/pgjdbc/src/main/java/org/postgresql/PGProperty.java#L99), the default record fetch size is 0(which means, it caches all record)
This fix enforces default record fetch size as 10 to enable streaming of data.
Author: Prince J Wesley <princejohnwesley@gmail.com>
Closes #14502 from princejwesley/spark-postgres.
Diffstat (limited to 'sql/catalyst/src/main/scala/org/apache')
0 files changed, 0 insertions, 0 deletions