spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: Updated sql programming guide to include jdbc fetch size
Date Tue, 24 Nov 2015 03:52:15 GMT
Repository: spark
Updated Branches:
  refs/heads/master 105745645 -> 026ea2eab


Updated sql programming guide to include jdbc fetch size

Author: Stephen Samuel <sam@sksamuel.com>

Closes #9377 from sksamuel/master.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/026ea2ea
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/026ea2ea
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/026ea2ea

Branch: refs/heads/master
Commit: 026ea2eab1f3cde270e8a6391d002915f3e1c6e5
Parents: 1057456
Author: Stephen Samuel <sam@sksamuel.com>
Authored: Mon Nov 23 19:52:12 2015 -0800
Committer: Reynold Xin <rxin@databricks.com>
Committed: Mon Nov 23 19:52:12 2015 -0800

----------------------------------------------------------------------
 docs/sql-programming-guide.md | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/026ea2ea/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index e347754..d7b205c 100644
--- a/docs/sql-programming-guide.md
+++ b/docs/sql-programming-guide.md
@@ -1820,6 +1820,7 @@ the Data Sources API.  The following options are supported:
       register itself with the JDBC subsystem.
     </td>
   </tr>
+  
   <tr>
     <td><code>partitionColumn, lowerBound, upperBound, numPartitions</code></td>
     <td>
@@ -1831,6 +1832,13 @@ the Data Sources API.  The following options are supported:
       partitioned and returned.
     </td>
   </tr>
+  
+  <tr>
+    <td><code>fetchSize</code></td>
+    <td>
+      The JDBC fetch size, which determines how many rows to fetch per round trip. This can
help performance on JDBC drivers which default to low fetch size (eg. Oracle with 10 rows).
+    </td>
+  </tr>
 </table>
 
 <div class="codetabs">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message