Repository: spark
Updated Branches:
  refs/heads/branch-1.6 159d631f5 -> 4904e10a2


Updated sql programming guide to include jdbc fetch size

Author: Stephen Samuel <[email protected]>

Closes #9377 from sksamuel/master.

(cherry picked from commit 026ea2eab1f3cde270e8a6391d002915f3e1c6e5)
Signed-off-by: Reynold Xin <[email protected]>


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

Branch: refs/heads/branch-1.6
Commit: 4904e10a2621bb140fca38e9f09ab543860573dc
Parents: 159d631
Author: Stephen Samuel <[email protected]>
Authored: Mon Nov 23 19:52:12 2015 -0800
Committer: Reynold Xin <[email protected]>
Committed: Mon Nov 23 19:52:18 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/4904e10a/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to