Skip to content

Commit

Permalink
Linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
azhard committed Jul 30, 2020
1 parent b964f6d commit 0a64708
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions plugins/bigquery/dbt/adapters/bigquery/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,16 +647,6 @@ def update_columns(self, relation, columns):
columns
)
new_schema.append(SchemaField.from_api_repr(new_bq_column_dict))
# for column in table.schema:
# if column.name in columns:
# column_config = columns[column.name]
# column_dict = column.to_api_repr()
# column_dict['description'] = column_config.get('description')
# if column_config.get('tags'):
# column_dict['policyTags'] = {}
# column_dict['policyTags']['names'] = column_config.get('tags')
# column = SchemaField.from_api_repr(column_dict)
# new_schema.append(column)

new_table = google.cloud.bigquery.Table(table_ref, schema=new_schema)
conn.handle.update_table(new_table, ['schema'])
Expand Down

0 comments on commit 0a64708

Please sign in to comment.