Skip to content

Commit 3954351

Browse files
committed
Updates function argument: partitioning_period
1 parent d68cf17 commit 3954351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy_bigquery/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def parse_sqltypes(coltype, partitioning_period):
906906
# Extract the default value or truncation_function (i.e. DATE_TRUNC())
907907
# and the set of allowable partition_periods
908908
# that can be used in that function
909-
trunc_fn, allowed_partitions = parse_sqltypes(column_type, time_partitioning)
909+
trunc_fn, allowed_partitions = parse_sqltypes(column_type, partitioning_period)
910910

911911
# Create output:
912912
# Special Case: _PARTITIONDATE does NOT use a function or partitioning_period

0 commit comments

Comments
 (0)