You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jeroen Warmerdam (JIRA)" <ji...@apache.org> on 2015/02/17 11:39:11 UTC

[jira] [Created] (SPARK-5860) JdbcRDD: overflow on large range with high number of partitions

Jeroen Warmerdam created SPARK-5860:
---------------------------------------

             Summary: JdbcRDD: overflow on large range with high number of partitions
                 Key: SPARK-5860
                 URL: https://issues.apache.org/jira/browse/SPARK-5860
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.2.1
            Reporter: Jeroen Warmerdam
            Priority: Minor


{code}
val jdbcRDD = new JdbcRDD(sc, () =>
      DriverManager.getConnection(url, username, password),
      "SELECT id FROM documents WHERE ? <= id AND id <= ?",
      lowerBound = 1131544775L,
      upperBound = 567279358897692673L,
      numPartitions = 20,
      mapRow = r => (r.getLong("id"))
)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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