Skip to content

Commit

Permalink
fix(model): bigquery, avoid fetching duplicated fields when fetching …
Browse files Browse the repository at this point in the history
…it (#1054)
  • Loading branch information
sebastien-boulle authored Feb 5, 2025
1 parent 50d1240 commit 3b29a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis-server/app/model/metadata/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_table_list(self) -> list[Table]:
ON cf.table_name = c.table_name
AND cf.column_name = c.column_name
LEFT JOIN {dataset_id}.INFORMATION_SCHEMA.TABLE_OPTIONS table_options
ON c.table_name = table_options.table_name
ON c.table_name = table_options.table_name AND table_options.OPTION_NAME = 'description'
WHERE cf.data_type != 'GEOGRAPHY'
AND cf.data_type NOT LIKE 'RANGE%'
ORDER BY cf.field_path ASC
Expand Down

0 comments on commit 3b29a43

Please sign in to comment.