in src/package/dataplexutils/metadata/wizard.py [0:0]
def _update_table_schema(self, table_fqn, schema):
"""Add stringdocs
Args:
Add stringdocs
Raises:
Add stringdocs
"""
try:
table = self._cloud_clients[constants["CLIENTS"]["BIGQUERY"]].get_table(
table_fqn
)
table.schema = schema
_ = self._cloud_clients[constants["CLIENTS"]["BIGQUERY"]].update_table(
table, ["schema"]
)
except Exception as e:
logger.error(f"Exception: {e}.")
raise e