File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 4949from google .cloud .bigquery .external_config import CSVOptions
5050from google .cloud .bigquery .external_config import GoogleSheetsOptions
5151from google .cloud .bigquery .external_config import ExternalSourceFormat
52+ from google .cloud .bigquery .external_config import HivePartitioningOptions
5253from google .cloud .bigquery .format_options import AvroOptions
5354from google .cloud .bigquery .format_options import ParquetOptions
5455from google .cloud .bigquery .job .base import SessionInfo
161162 "DmlStats" ,
162163 "CSVOptions" ,
163164 "GoogleSheetsOptions" ,
165+ "HivePartitioningOptions" ,
164166 "ParquetOptions" ,
165167 "ScriptOptions" ,
166168 "TransactionInfo" ,
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def create_table_external_hive_partitioned(table_id: str) -> "bigquery.Table":
5050 external_config .autodetect = True
5151
5252 # Configure partitioning options.
53- hive_partitioning_opts = bigquery .external_config . HivePartitioningOptions ()
53+ hive_partitioning_opts = bigquery .HivePartitioningOptions ()
5454
5555 # The layout of the files in here is compatible with the layout requirements for hive partitioning,
5656 # so we can add an optional Hive partitioning configuration to leverage the object paths for deriving
You can’t perform that action at this time.
0 commit comments