[
https://issues.apache.org/jira/browse/BEAM-13835?focusedWorklogId=722616&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-722616
]
ASF GitHub Bot logged work on BEAM-13835:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Feb/22 07:28
Start Date: 08/Feb/22 07:28
Worklog Time Spent: 10m
Work Description: mosche commented on a change in pull request #15848:
URL: https://github.com/apache/beam/pull/15848#discussion_r801332204
##########
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:
Sounds like the best way forward 👍 Such a range class would also make
the interfaces a lot more comprehensive (to eventually expose these to users)
--
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: 722616)
Time Spent: 5h 50m (was: 5h 40m)
> 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: 5h 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)