@@ -229,7 +229,8 @@ def create_empty_table(self,
229
229
:param table_id: The Name of the table to be created.
230
230
:type table_id: str
231
231
:param schema_fields: If set, the schema field list as defined here:
232
- https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.schema
232
+ https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.schema
233
+ :type schema_fields: list
233
234
:param labels: a dictionary containing labels for the table, passed to BigQuery
234
235
:type labels: dict
235
236
@@ -238,7 +239,6 @@ def create_empty_table(self,
238
239
schema_fields=[{"name": "emp_name", "type": "STRING", "mode": "REQUIRED"},
239
240
{"name": "salary", "type": "INTEGER", "mode": "NULLABLE"}]
240
241
241
- :type schema_fields: list
242
242
:param time_partitioning: configure optional time partitioning fields i.e.
243
243
partition by field, type and expiration as per API specifications.
244
244
@@ -480,7 +480,7 @@ def create_external_table(self,
480
480
)
481
481
482
482
def run_query (self ,
483
- sql = None ,
483
+ sql ,
484
484
destination_dataset_table = None ,
485
485
write_disposition = 'WRITE_EMPTY' ,
486
486
allow_large_results = False ,
@@ -522,6 +522,7 @@ def run_query(self,
522
522
:type flatten_results: bool
523
523
:param udf_config: The User Defined Function configuration for the query.
524
524
See https://cloud.google.com/bigquery/user-defined-functions for details.
525
+ :type udf_config: list
525
526
:param use_legacy_sql: Whether to use legacy SQL (true) or standard SQL (false).
526
527
If `None`, defaults to `self.use_legacy_sql`.
527
528
:type use_legacy_sql: bool
@@ -532,7 +533,6 @@ def run_query(self,
532
533
if you need to provide some params that are not supported by the
533
534
BigQueryHook like args.
534
535
:type api_resource_configs: dict
535
- :type udf_config: list
536
536
:param maximum_billing_tier: Positive integer that serves as a
537
537
multiplier of the basic price.
538
538
:type maximum_billing_tier: int
0 commit comments