mirror of https://github.com/apache/superset.git
Explore View Perf Fix (#5637)
This commit is contained in:
parent
bf0afef7a9
commit
5966a674e5
|
@ -365,8 +365,10 @@ class BaseEngineSpec(object):
|
||||||
"""
|
"""
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
@staticmethod
|
@classmethod
|
||||||
def execute(cursor, query, async=False):
|
def execute(cls, cursor, query, async=False):
|
||||||
|
if cls.arraysize:
|
||||||
|
cursor.arraysize = cls.arraysize
|
||||||
cursor.execute(query)
|
cursor.execute(query)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue