Skip to content

Commit

Permalink
fixed bigquery table not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
adamzwakk authored and tdcmeehan committed Aug 23, 2023
1 parent 1cdc23d commit 3ffb027
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ public class BigQueryClient

public TableInfo getTable(TableId tableId)
{
TableId bigQueryTableId = tableIds.get(tableId);
Table table = bigQuery.getTable(bigQueryTableId != null ? bigQueryTableId : tableId);
Table table = bigQuery.getTable(tableId);
if (table != null) {
tableIds.putIfAbsent(tableId, table.getTableId());
datasetIds.putIfAbsent(toDatasetId(tableId), toDatasetId(table.getTableId()));
Expand Down

0 comments on commit 3ffb027

Please sign in to comment.