s-u/RJDBC — pull request #6 by jrohland (2014-03-10 20:57:02+00:00)
Title: Setting the fetch size of the JDBC ResultSet to be the same as the R side

Setting the fetch size on the ResultSet object increase performance by requesting a batch number of rows from the database instead of returning rows individually depending on what database you're using. Using RJDBC with Hiveserver2 saw huge performance increase by setting this value prior to iterating over the ResultSet.