[ 
https://issues.apache.org/jira/browse/GOBBLIN-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vivek Rai updated GOBBLIN-2169:
-------------------------------
    Summary: Fix NPE when table has no snapshot while accessing current 
snapshot   (was: Fix NPE in overwritePartition and 
getPartitionSpecificDataFiles)

> Fix NPE when table has no snapshot while accessing current snapshot 
> --------------------------------------------------------------------
>
>                 Key: GOBBLIN-2169
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2169
>             Project: Apache Gobblin
>          Issue Type: Bug
>            Reporter: Vivek Rai
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> While overwrite we log the snapshot id of last snapshot present before 
> commit, incase table has no previous snapshot it will give NPE
> Line giving NPE - 
> {code:java}
> log.info("~{}~ SnapshotId before overwrite: {}", tableId, 
> accessTableMetadata().currentSnapshot().snapshotId());{code}



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

Reply via email to