@@ -562,9 +562,7 @@ def run_query(self,
562
562
The default value is INTERACTIVE.
563
563
:type priority: str
564
564
:param time_partitioning: configure optional time partitioning fields i.e.
565
- partition by field, type and
566
- expiration as per API specifications. Note that 'field' is not available in
567
- conjunction with dataset.table$partition.
565
+ partition by field, type and expiration as per API specifications.
568
566
:type time_partitioning: dict
569
567
:param cluster_fields: Request that the result of this query be stored sorted
570
568
by one or more columns. This is only available in combination with
@@ -926,9 +924,7 @@ def run_load(self,
926
924
:param src_fmt_configs: configure optional fields specific to the source format
927
925
:type src_fmt_configs: dict
928
926
:param time_partitioning: configure optional time partitioning fields i.e.
929
- partition by field, type and
930
- expiration as per API specifications. Note that 'field' is not available in
931
- conjunction with dataset.table$partition.
927
+ partition by field, type and expiration as per API specifications.
932
928
:type time_partitioning: dict
933
929
:param cluster_fields: Request that the result of this load be stored sorted
934
930
by one or more columns. This is only available in combination with
@@ -1662,12 +1658,7 @@ def _cleanse_time_partitioning(destination_dataset_table, time_partitioning_in):
1662
1658
1663
1659
time_partitioning_out = {}
1664
1660
if destination_dataset_table and '$' in destination_dataset_table :
1665
- if time_partitioning_in .get ('field' ):
1666
- raise ValueError (
1667
- "Cannot specify field partition and partition name"
1668
- "(dataset.table$partition) at the same time" )
1669
1661
time_partitioning_out ['type' ] = 'DAY'
1670
-
1671
1662
time_partitioning_out .update (time_partitioning_in )
1672
1663
return time_partitioning_out
1673
1664
0 commit comments