[
https://issues.apache.org/jira/browse/BEAM-7450?focusedWorklogId=258566&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-258566
]
ASF GitHub Bot logged work on BEAM-7450:
----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Jun/19 09:49
Start Date: 12/Jun/19 09:49
Worklog Time Spent: 10m
Work Description: iemejia commented on pull request #8718: [BEAM-7450]
Add an unbounded HcatalogIO reader using splittable pardo
URL: https://github.com/apache/beam/pull/8718#discussion_r292831844
##########
File path:
sdks/java/io/hcatalog/src/main/java/org/apache/beam/sdk/io/hcatalog/HCatalogIO.java
##########
@@ -123,12 +129,147 @@ public static Read read() {
return new
AutoValue_HCatalogIO_Read.Builder().setDatabase(DEFAULT_DATABASE).build();
}
+ /**
+ * Read unbounded data from Hive. This essentially means that as new
partitions show up, we start
+ * reading data for that partition.
+ */
+ public static UnboundedRead unbounded() {
Review comment:
That was probably an ill advise of my part (there was a totally different
approach, not the read based one too). @jhalaria I think this is
probablysimilar in principle to what we called the unification, maybe worth to
tackle it for this 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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 258566)
Time Spent: 4h 40m (was: 4.5h)
> Unbounded HCatalogIO Reader using splittable pardos
> ---------------------------------------------------
>
> Key: BEAM-7450
> URL: https://issues.apache.org/jira/browse/BEAM-7450
> Project: Beam
> Issue Type: New Feature
> Components: sdk-java-core
> Reporter: Ankit Jhalaria
> Assignee: Ankit Jhalaria
> Priority: Minor
> Time Spent: 4h 40m
> Remaining Estimate: 0h
>
> # Current version of HcatalogIO is a bounded source.
> # While migrating our jobs to aws, we realized that it would be helpful to
> have an unbounded hcat reader that can behave as an unbounded source and
> polls for new partitions as and when they become available.
> # I have used splittable pardo(s) to do this. There is a flag that can be
> set to treat this as a bounded source which will terminate if that flag is
> set.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)