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

ASF GitHub Bot logged work on GOBBLIN-2068:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/May/24 00:18
            Start Date: 16/May/24 00:18
    Worklog Time Spent: 10m 
      Work Description: homatthew commented on code in PR #3949:
URL: https://github.com/apache/gobblin/pull/3949#discussion_r1602394492


##########
gobblin-iceberg/src/main/java/org/apache/gobblin/iceberg/publisher/GobblinMCEPublisher.java:
##########
@@ -115,9 +115,11 @@ public void publishData(Collection<? extends 
WorkUnitState> states) throws IOExc
   }
 
   protected Map<String, String> getPartitionOffsetRange(String offsetKey) {
-    return state.getPropAsList(offsetKey)

Review Comment:
   Ah, in that case "orElse(null)" is what you'd want.
   
   But either way, seems like this is a headache to handle since everything 
can't handle null 😆 . Java stream / optional API can only help so much





Issue Time Tracking
-------------------

    Worklog Id:     (was: 919615)
    Time Spent: 1h 20m  (was: 1h 10m)

> Make offset range in Gobblin Metadata pipeline configurable
> -----------------------------------------------------------
>
>                 Key: GOBBLIN-2068
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2068
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Zihan Li
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Make offset range in Gobblin Metadata pipeline configurable, as in some case, 
> offset range might not be supported



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to