[ https://issues.apache.org/jira/browse/BEAM-7450?focusedWorklogId=259066&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-259066 ]
ASF GitHub Bot logged work on BEAM-7450: ---------------------------------------- Author: ASF GitHub Bot Created on: 12/Jun/19 20:51 Start Date: 12/Jun/19 20:51 Worklog Time Spent: 10m Work Description: jhalaria commented on issue #8718: [BEAM-7450] Add an unbounded HcatalogIO reader using splittable pardo URL: https://github.com/apache/beam/pull/8718#issuecomment-501450607 Hey @jkff , Thank you for your suggestion. It would definitely make this a lot simpler. I just wanted to make sure that I understand your overall solution correctly: - Add a simple Watch transform that outputs all partitions List<Partitions> whenever it gets invoked. Signature of Transform ```java PartitionWatcher extends PollFn<HCatalogIO.Read, List<Partition>> ``` - A DoFn that will invoke HcatalogIO.read with a filter condition added that can read the partitions. ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 259066) Time Spent: 5.5h (was: 5h 20m) > 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: 5.5h > 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)