in src/package/dataplexutils/metadata/wizard.py [0:0]
def _table_exists(self, table_fqn: str) -> None:
"""Checks if a specified BigQuery table exists.
Args:
table_fqn: The fully qualified name of the table
(e.g., 'project.dataset.table')
Raises:
NotFound: If the specified table does not exist.
"""
try:
self._cloud_clients[constants["CLIENTS"]["BIGQUERY"]].get_table(table_fqn)
except NotFound:
logger.error(f"Table {table_fqn} is not found.")
raise NotFound(message=f"Table {table_fqn} is not found.")