Explore View Perf Fix (#5637)

This commit is contained in:
Sumedh Sakdeo 2018-08-15 12:27:08 -07:00 committed by Maxime Beauchemin
parent bf0afef7a9
commit 5966a674e5
1 changed files with 4 additions and 2 deletions

View File

@ -365,8 +365,10 @@ class BaseEngineSpec(object):
"""
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