[
https://issues.apache.org/jira/browse/GOBBLIN-2138?focusedWorklogId=936454&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-936454
]
ASF GitHub Bot logged work on GOBBLIN-2138:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 25/Sep/24 18:29
Start Date: 25/Sep/24 18:29
Worklog Time Spent: 10m
Work Description: phet commented on code in PR #4033:
URL: https://github.com/apache/gobblin/pull/4033#discussion_r1775761769
##########
gobblin-data-management/src/main/java/org/apache/gobblin/data/management/copy/iceberg/BaseIcebergCatalog.java:
##########
@@ -67,4 +68,6 @@ protected String getDatasetDescriptorPlatform() {
}
protected abstract TableOperations createTableOperations(TableIdentifier
tableId);
+
+ protected abstract Table loadTableInstance(TableIdentifier tableId);
Review Comment:
this change is backwards-*IN*compatible, but I don't see any easy way around
that. clearly some iceberg invocations, like `replacePartitions` require the
`Table`, rather than the `TableOperations` or the `Catalog`, so there doesn't
seem to be an alternative route - `Table` use is essential.
that said, perhaps this PR should show the motivation for adding this
method, by including code *calling* it
Issue Time Tracking
-------------------
Worklog Id: (was: 936454)
Time Spent: 0.5h (was: 20m)
> Add a loadTable() api in BaseIcebergCatalog
> -------------------------------------------
>
> Key: GOBBLIN-2138
> URL: https://issues.apache.org/jira/browse/GOBBLIN-2138
> Project: Apache Gobblin
> Issue Type: Task
> Reporter: Vivek Rai
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)