Skip to content

Commit

Permalink
Issues/377 correct bigquery table parameter name (#378)
Browse files Browse the repository at this point in the history
* Correct the name of the parameter for table names

the CLI asks for `bigquery_table` instead of `bigquery_tables`, so currently any parameter given is ignored by the runtime

* Add Changelog
  • Loading branch information
jpraetorius authored Aug 19, 2024
1 parent 554cb97 commit db00a5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix an issue where Glue database without a location creates invalid data contract (#351)
- Fix bigint -> long data type mapping (#351)
- Fix an issue where column description for Glue partition key column is ignored (#351)
- Corrected name of table parameter for bigquery import (#377)


## [0.10.11] - 2024-08-08
Expand Down
2 changes: 1 addition & 1 deletion datacontract/imports/bigquery_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def import_source(
else:
data_contract_specification = import_bigquery_from_api(
data_contract_specification,
import_args.get("bigquery_tables"),
import_args.get("bigquery_table"),
import_args.get("bigquery_project"),
import_args.get("bigquery_dataset"),
)
Expand Down

0 comments on commit db00a5d

Please sign in to comment.