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

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

                Author: ASF GitHub Bot
            Created on: 14/Jun/19 08:24
            Start Date: 14/Jun/19 08:24
    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_r293692321
 
 

 ##########
 File path: 
sdks/java/io/hcatalog/src/main/java/org/apache/beam/sdk/io/hcatalog/HCatalogIO.java
 ##########
 @@ -186,6 +205,28 @@ public Read withFilter(String filter) {
       return toBuilder().setFilter(filter).build();
     }
 
+    /**
+     * If specified, polling for new partitions will happen at this 
periodicity. The returned
+     * PCollection will be unbounded. However if a withTerminationCondition is 
set along with
+     * pollingInterval, polling will stop after the termination condition has 
been met.
+     */
+    public Read withPollingInterval(Duration pollingInterval) {
 
 Review comment:
   Can you please add an example of the new Polling use in the class javadoc. 
Thanks.
 
----------------------------------------------------------------
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: 260222)
    Time Spent: 8h 40m  (was: 8.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: 8h 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)

Reply via email to