Skip to content

Commit

Permalink
Fix: use correct variable name (#4210)
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr authored Oct 3, 2019
1 parent f6ad3d9 commit 3f31bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/query_runner/vertica.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def run_query(self, query, user):
if cursor.description is not None:
columns_data = [(i[0], types_map.get(i[1], None)) for i in cursor.description]

columns = self.fetch_columns(column_data)
columns = self.fetch_columns(columns_data)
rows = [dict(zip(([c['name'] for c in columns]), r))
for r in cursor.fetchall()]

Expand Down

0 comments on commit 3f31bf3

Please sign in to comment.