sowo commented on a change in pull request #15082:
URL: https://github.com/apache/superset/pull/15082#discussion_r654766289
##########
File path: superset/models/core.py
##########
@@ -379,6 +379,9 @@ def _log_query(sql: str) -> None:
with closing(engine.raw_connection()) as conn:
cursor = conn.cursor()
+ if hasattr(cursor, 'fetch_size'):
Review comment:
I reverted the original change in models/core.py and am now setting
fetch_size of the Elastic cursor in the elasticsearch db_engine_spec. Is that
the proper implementation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]