mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Explore View Perf Fix (#5637)
This commit is contained in:
committed by
Maxime Beauchemin
parent
bf0afef7a9
commit
5966a674e5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user