[ 
https://issues.apache.org/jira/browse/BEAM-13149?focusedWorklogId=672906&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-672906
 ]

ASF GitHub Bot logged work on BEAM-13149:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Nov/21 23:49
            Start Date: 01/Nov/21 23:49
    Worklog Time Spent: 10m 
      Work Description: pabloem commented on a change in pull request #15832:
URL: https://github.com/apache/beam/pull/15832#discussion_r740629497



##########
File path: 
sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcIO.java
##########
@@ -1060,53 +1060,36 @@ public void populateDisplayData(DisplayData.Builder 
builder) {
           getUpperBound() - getLowerBound() >= getNumPartitions(),
           "The specified number of partitions is more than the difference 
between upper bound and lower bound");
 
-      if (getUpperBound() == MAX_VALUE || getLowerBound() == 0) {

Review comment:
       in this case, the default values will be used. We could change the 
parameter to be `Long` instead of `long` and fail with nulls. WDYT?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 672906)
    Time Spent: 50m  (was: 40m)

> JdbcIO.readWithPartitions supports only int ranges
> --------------------------------------------------
>
>                 Key: BEAM-13149
>                 URL: https://issues.apache.org/jira/browse/BEAM-13149
>             Project: Beam
>          Issue Type: Task
>          Components: io-java-jdbc
>            Reporter: Pablo Estrada
>            Assignee: Pablo Estrada
>            Priority: P2
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> It would be easy to migrate this to `long` to increase the range that it 
> supports



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to