dosubot[bot] commented on issue #32409: URL: https://github.com/apache/superset/issues/32409#issuecomment-2687878105
<!-- Answer --> I found a similar unsolved discussion regarding the inability to add an OceanBase database when the SQLALCHEMY URL contains tenant information. You can view the discussion [here](https://github.com/apache/superset/discussions/32390) <sup>[[1]](https://github.com/apache/superset/discussions/32390)</sup>. For the SQLALCHEMY URL, ensure it is correctly formatted as follows: ``` oceanbase://<User>:<Password>@<Host>:<Port>/<Database> ``` If tenant information is required, it should be included in the query parameters section of the URL, like this: ``` oceanbase://<User>:<Password>@<Host>:<Port>/<Database>?tenant=<TenantName> ``` The error you're encountering, related to a `NoneType` comparison, suggests there might be an issue with the database connection or the SQL expression being executed. Ensure that the SQLALCHEMY URL is correctly formatted and that the OceanBase database is properly set up to handle the requested operations <sup>[[2]](https://github.com/apache/superset/blob/master/superset/db_engine_specs/oceanbase.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/8e26a96f-d046-4b9f-80c0-1b9f0e82ce5f?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/8e26a96f-d046-4b9f-80c0-1b9f0e82ce5f?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/8e26a96f-d046-4b9f-80c0-1b9f0e82ce5f?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/8e26a96f-d046-4b9f-80c0-1b9f0e82ce5f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8e26a96f-d046-4b9f-80c0-1b9f0e82ce5f?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/8e26a96f-d046-4b9f-80c0-1b9f0e82ce5f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8e26a96f-d046-4b9f-80c0-1b9f0e82ce5f?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-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org