Skip to content

Commit

Permalink
Explore View Perf Fix (apache#5637)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumedhsakdeo authored and mistercrunch committed Aug 15, 2018
1 parent bf0afef commit 5966a67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions superset/db_engine_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,10 @@ def get_configuration_for_impersonation(cls, uri, impersonate_user, username):
"""
return {}

@staticmethod
def execute(cursor, query, async=False):
@classmethod
def execute(cls, cursor, query, async=False):
if cls.arraysize:
cursor.arraysize = cls.arraysize
cursor.execute(query)

@classmethod
Expand Down

0 comments on commit 5966a67

Please sign in to comment.