alldoami commented on code in PR #24984:
URL: https://github.com/apache/superset/pull/24984#discussion_r1295243748
##########
superset/db_engine_specs/hive.py:
##########
@@ -542,11 +542,9 @@ def update_impersonation_config(
connect_args["configuration"] = configuration
@staticmethod
- def execute( # type: ignore
- cursor, query: str, async_: bool = False
- ): # pylint: disable=arguments-differ
- kwargs = {"async": async_}
- cursor.execute(query, **kwargs)
+ def execute(cursor, query: str):
Review Comment:
```
raise SupersetErrorsException(superset-f79cd4889-88xps
superset.exceptions.SupersetErrorsException: [SupersetError(message="databricks
error: execute() got an unexpected keyword argument 'async'",
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR:
'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>,
extra={'engine_name': 'Databricks Interactive Cluster', 'issue_codes':
[{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected
error.'}]})]
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]