You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/08/18 09:26:40 UTC
[GitHub] [superset] anilkumar000 opened a new issue, #21122: [SupersetError(message="'dict' object has no attribute 'set'", error_type=
anilkumar000 opened a new issue, #21122:
URL: https://github.com/apache/superset/issues/21122
Hello, im trying to use "SQLLAB_BACKEND_PERSISTENCE": True for caching sqllab_query_results. But the feature is failing to return response of queried result back to superset and throwing below Error logs. Could please correct and help me on this feature.
**Superset version -** v2.0
**Superset instance -** On Kubernetes container using Helm
**Feature Flag configuration** in superset_config.py -
```
FEATURE_FLAGS = {
"DASHBOARD_NATIVE_FILTERS": True,
"DASHBOARD_CROSS_FILTERS": True,
"ENABLE_TEMPLATE_PROCESSING": True,
"ENABLE_EXPLORE_DRAG_AND_DROP": True,
"DASHBOARD_RBAC": True,
"VERSIONED_EXPORT": True,
"GENERIC_CHART_AXES": True,
"SQLLAB_BACKEND_PERSISTENCE": True
}
```
**Expected :** to get queried result in sqllab tab.
**Actual Error Logs :**
```
[SupersetError(message="'dict' object has no attribute 'set'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'Trino', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]
Traceback (most recent call last):
File "/app/superset/views/base.py", line 207, in wraps
return f(self, *args, **kwargs)
File "/app/superset/utils/log.py", line 245, in wrapper
value = f(*args, **kwargs)
File "/app/superset/views/core.py", line 2395, in sql_json
command_result: CommandResult = command.run()
File "/app/superset/sqllab/command.py", line 114, in run
raise ex
File "/app/superset/sqllab/command.py", line 98, in run
status = self._run_sql_json_exec_from_scratch()
File "/app/superset/sqllab/command.py", line 151, in _run_sql_json_exec_from_scratch
raise ex
File "/app/superset/sqllab/command.py", line 146, in _run_sql_json_exec_from_scratch
return self._sql_json_executor.execute(
File "/app/superset/sqllab/sql_json_executer.py", line 111, in execute
raise SupersetErrorsException(
superset.exceptions.SupersetErrorsException: [SupersetError(message="'dict' object has no attribute 'set'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'Trino', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]
2022-08-18 09:12:41,251:WARNING:superset.views.base:[SupersetError(message="'dict' object has no attribute 'set'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'Trino', '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: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] anilkumar000 commented on issue #21122: [SupersetError(message="'dict' object has no attribute 'set'", error_type=
Posted by GitBox <gi...@apache.org>.
anilkumar000 commented on issue #21122:
URL: https://github.com/apache/superset/issues/21122#issuecomment-1219416855
It is the same issue with older verison (1.5.1) also.
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SupersetError(message="'dict' object has no attribute 'set'", error_type= [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #21122:
URL: https://github.com/apache/superset/issues/21122#issuecomment-1946587931
Since we're now on 3.1, on the verge of 4.0, we're not supporting 2.x or prior versions actively. If anyone is experiencing this issue in current versions, please file a new issue with updated context and repro steps. Thank you for understanding :)
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SupersetError(message="'dict' object has no attribute 'set'", error_type= [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #21122: [SupersetError(message="'dict' object has no attribute 'set'", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>
URL: https://github.com/apache/superset/issues/21122
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org