Skip to content

Commit 5c15439

Browse files
committed
fix(athena): add disable_batch_fallback param to mock adapters in tests
PR dbt-labs#1830/dbt-labs#1832 のテストが fork #3 で追加された disable_batch_fallback 引数を MockAdapter.run_query_with_partitions_limit_catching に含んでいなかった。
1 parent 4d9d48d commit 5c15439

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dbt-athena/tests/unit/test_build_with_subquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, columns, query_result):
7575
def get_columns_in_relation(self, relation):
7676
return self._columns
7777

78-
def run_query_with_partitions_limit_catching(self, sql):
78+
def run_query_with_partitions_limit_catching(self, sql, disable_batch_fallback=False):
7979
self.last_sql = str(sql).strip()
8080
return self._query_result
8181

dbt-athena/tests/unit/test_merge_exclude_source_columns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def __init__(self, columns, query_result):
186186
def get_columns_in_relation(self, relation):
187187
return self._columns
188188

189-
def run_query_with_partitions_limit_catching(self, sql):
189+
def run_query_with_partitions_limit_catching(self, sql, disable_batch_fallback=False):
190190
self.last_sql = str(sql).strip()
191191
return self._query_result
192192

0 commit comments

Comments
 (0)