-
Notifications
You must be signed in to change notification settings - Fork 323
Open
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.
Description
Is your feature request related to a problem? Please describe.
The problem is that table = client.create_table(table)
does not consider hive_partitioning_options
when the table is created. The getter is not called, and we verified that we never make it there when debugging the code.
Describe the solution you'd like
hive_partitioning_options = HivePartitioningOptions.from_api_repr(
{
"sourceUriPrefix": source_uri_prefix,
"requirePartitionFilter": True,
"mode": "CUSTOM",
}
)
table.external_data_configuration.hive_partitioning = hive_partitioning_options
table = client.create_table(table)
Describe alternatives you've considered
We use the SQL supported solution instead.
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.