You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2025/01/15 06:26:37 UTC
Re: [I] Cant start superset - throw a exception on v4.1.1 [superset]
dosubot[bot] commented on issue #31852:
URL: https://github.com/apache/superset/issues/31852#issuecomment-2591747119
<!-- Answer -->
The error you're encountering is due to a missing configuration key, `SQLGLOT_DIALECTS_EXTENSIONS`, in your Superset configuration. This key is expected to be present in the configuration but is currently missing, leading to a `KeyError`.
To resolve this issue, you can add the `SQLGLOT_DIALECTS_EXTENSIONS` configuration to your `superset_config.py` file. By default, this should be an empty dictionary if you do not have any custom SQL dialects to add. Here is how you can define it:
```python
SQLGLOT_DIALECTS_EXTENSIONS = {}
```
Add this line to your `superset_config.py` file, and then try restarting Superset. This should resolve the `KeyError` related to `SQLGLOT_DIALECTS_EXTENSIONS` <sup>[[1]](https://github.com/apache/superset/blob/master/superset/config.py)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/7ec64233-c637-4073-b675-8b763b870eb3?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/7ec64233-c637-4073-b675-8b763b870eb3?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/7ec64233-c637-4073-b675-8b763b870eb3?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/7ec64233-c637-4073-b675-8b763b870eb3?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/7ec64233-c637-4073-b675-8b763b870eb3?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/7ec64233-c637-4073-b675-8b763b870eb3?feedback_type=other)</sup>
--
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