title: Spark JDBC UpperBound
body: <pre><code>           jdbc(String url,
                       String table,
                       String columnName,
                       long lowerBound,
                       long upperBound,
                       int numPartitions,
                       java.util.Properties connectionProperties)
  </code></pre>
  <p>Hello,
  I want to import few table from Oracle to hdfs using spark jdbc connectivity. To ensure parallelism, I want to choose the correct upperBound for each table. I am planning put row_number as my partition column and count of the table as the upperBound. Is there a better way to chose upperBound?, since I have to connect to the table in the first time to get the count. Please help</p>