Skip to content

Commit 0f73421

Browse files
authored
Merge pull request ClickHouse#78707 from azat/loop-fix
Fix wrong arguments order for TableFunctionFactory::execute() for loop
2 parents 3da2411 + 40f422e commit 0f73421

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TableFunctions/TableFunctionLoop.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ namespace DB
127127
context,
128128
table_name,
129129
std::move(cached_columns),
130-
is_insert_query);
130+
/*use_global_context=*/false,
131+
/*is_insert_query=*/is_insert_query);
131132
}
132133
auto res = std::make_shared<StorageLoop>(
133134
StorageID(getDatabaseName(), table_name),

0 commit comments

Comments
 (0)