joyhaldar commented on code in PR #14940:
URL: https://github.com/apache/iceberg/pull/14940#discussion_r2675023354
##########
bigquery/src/main/java/org/apache/iceberg/gcp/bigquery/BigQueryTableOperations.java:
##########
@@ -48,6 +48,9 @@ final class BigQueryTableOperations extends
BaseMetastoreTableOperations {
private final FileIO fileIO;
private final TableReference tableReference;
+ /** Table loaded in doRefresh() for reuse in updateTable() to avoid
redundant API call. */
+ private volatile Table refreshedTable;
Review Comment:
Done, renamed to `metastoreTable`.
We need the full Table in my understanding because `updateTable()` calls
`getExternalCatalogTableOptions()`, `addConnectionIfProvided()`, and passes it
to `client.update()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]