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

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

                Author: ASF GitHub Bot
            Created on: 07/Feb/22 18:23
            Start Date: 07/Feb/22 18:23
    Worklog Time Spent: 10m 
      Work Description: pabloem commented on a change in pull request #15848:
URL: https://github.com/apache/beam/pull/15848#discussion_r800937170



##########
File path: 
sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcUtilTest.java
##########
@@ -41,4 +53,126 @@ public void testGetPreparedStatementSetCaller() throws 
Exception {
     String expectedStmt = "INSERT INTO test_table(col1, col2, col3) VALUES(?, 
?, ?)";
     assertEquals(expectedStmt, generatedStmt);
   }
+
+  @Test
+  public void testStringPartitioningWithSingleKeyFn() {
+    JdbcReadWithPartitionsHelper<String> helper =
+        
JdbcUtil.JdbcReadWithPartitionsHelper.getPartitionsHelper(TypeDescriptors.strings());
+    List<KV<String, String>> expectedRanges =

Review comment:
       oh great catch - I'd like to support strings, but I am fine to leave for 
a follow up change (maybe use a specialized range object rather than a KV, huh?)
   
   I'll remove the string support for now, and follow up in a different PR.




-- 
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: 722158)
    Time Spent: 3h  (was: 2h 50m)

> Support any-column-type to partition JdbcIO table reads
> -------------------------------------------------------
>
>                 Key: BEAM-13835
>                 URL: https://issues.apache.org/jira/browse/BEAM-13835
>             Project: Beam
>          Issue Type: Sub-task
>          Components: io-java-jdbc
>            Reporter: Pablo Estrada
>            Assignee: Pablo Estrada
>            Priority: P2
>          Time Spent: 3h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to