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

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

                Author: ASF GitHub Bot
            Created on: 11/Jun/19 21:36
            Start Date: 11/Jun/19 21:36
    Worklog Time Spent: 10m 
      Work Description: jkff commented on pull request #8718: [BEAM-7450] Add 
an unbounded HcatalogIO reader using splittable pardo
URL: https://github.com/apache/beam/pull/8718#discussion_r292669156
 
 

 ##########
 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:
   Are you sure you need a new class for this, can you just add a boolean 
parameter to Read "isUnbounded" and add an if() statement in expand?
 
----------------------------------------------------------------
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: 258142)
    Time Spent: 4h 10m  (was: 4h)

> 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 10m
>  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