Skip to content

Commit b1cba8b

Browse files
mahdi-jfrijayvynl
authored andcommitted
Fix reading settings in explain
1 parent 88792bc commit b1cba8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clickhouse_backend/backend/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def explain_query(self, format=None, type=None, **settings):
304304
suffix = ""
305305
options = {}
306306
unknown_settings = []
307-
for setting, value in settings:
307+
for setting, value in settings.items():
308308
if setting in self.explain_settings:
309309
options[setting] = int(bool(value))
310310
else:

0 commit comments

Comments
 (0)