From 892e28f1a00db1026f2b0dc52dc850b4fe507ffa Mon Sep 17 00:00:00 2001 From: Christophe Oudar Date: Mon, 21 Aug 2023 19:11:02 +0200 Subject: [PATCH] Review change --- dbt/adapters/bigquery/impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/bigquery/impl.py b/dbt/adapters/bigquery/impl.py index fb1adcc81e..3f83518617 100644 --- a/dbt/adapters/bigquery/impl.py +++ b/dbt/adapters/bigquery/impl.py @@ -624,7 +624,7 @@ def _partitions_match(table, conf_partition: Optional[PartitionConfig]) -> bool: table_granularity = table.partitioning_type conf_table_field = conf_partition.field return ( - table_field.lower() == conf_table_field.lower() + table_field == conf_table_field.lower() or (conf_partition.time_ingestion_partitioning and table_field is not None) ) and table_granularity.lower() == conf_partition.granularity.lower() elif conf_partition and table.range_partitioning is not None: