You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/19 17:24:05 UTC

[jira] [Assigned] (SPARK-16058) JDBC Source: Wrong Results when lowerBound is larger than upperBound in Column Partitioning

     [ https://issues.apache.org/jira/browse/SPARK-16058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-16058:
------------------------------------

    Assignee: Apache Spark

> JDBC Source: Wrong Results when lowerBound is larger than upperBound in Column Partitioning
> -------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16058
>                 URL: https://issues.apache.org/jira/browse/SPARK-16058
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Apache Spark
>
> {noformat}
> spark.read.jdbc(
>   url = urlWithUserAndPass,
>   table = "TEST.seq",
>   columnName = "id",
>   lowerBound = 0,
>   upperBound = 4,
>   numPartitions = 0,
>   connectionProperties = new Properties)
> {noformat}
> Currently, Spark SQL generates wrong results due to wrong partitions:
> {noformat}
>   Part 0 id < 3 or id is null
>   Part 1 id >= 3 AND id < 2
>   Part 2 id >= 2
> {noformat}



--
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