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

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

                Author: ASF GitHub Bot
            Created on: 14/Oct/23 00:00
            Start Date: 14/Oct/23 00:00
    Worklog Time Spent: 10m 
      Work Description: arjun4084346 commented on code in PR #3799:
URL: https://github.com/apache/gobblin/pull/3799#discussion_r1358985528


##########
gobblin-data-management/src/main/java/org/apache/gobblin/data/management/copy/iceberg/IcebergTable.java:
##########
@@ -202,4 +204,15 @@ protected void registerIcebergTable(TableMetadata 
srcMetadata, TableMetadata dst
       this.tableOps.commit(dstMetadata, 
srcMetadata.replaceProperties(dstMetadata.properties()));
     }
   }
+
+  /**
+   * Provides absolute path of the iceberg table location
+   * @return string value of table location if present
+   * @throws TableNotFoundException
+   */
+  public String getTablePath() throws TableNotFoundException {
+    Path tablePath = Paths.get(accessTableMetadata().location());
+    log.info("Iceberg table location: {}", tablePath.toAbsolutePath());

Review Comment:
   Is the path returned by `accessTableMetadata()` not absolute? If not, how 
does this call make it absolute?





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

    Worklog Id:     (was: 885149)
    Time Spent: 50m  (was: 40m)

> Implement Dataset Path for IcebergDataset and RecursiveCopyableDataset
> ----------------------------------------------------------------------
>
>                 Key: GOBBLIN-1929
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1929
>             Project: Apache Gobblin
>          Issue Type: New Feature
>            Reporter: Meeth Gala
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




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

Reply via email to