You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Superset's SQL parser handles special characters like '/' in database names or table names by escaping them correctly. The Table class in the parser converts names with special characters into a URL-encoded format. For example, a table name "table.name" with a schema "schema/name" and a catalog "catalog\nname" would be converted to "catalog%0Aname.schema%2Fname.table%2Ename" [1].
In your case, the parsing error might be due to the way the prefix is being handled. You might need to ensure that the prefix and database name are correctly formatted or escaped according to Superset's parsing rules. If the issue persists, it could be related to how the YDB engine is configured to handle such cases. The YDBEngineSpec class in Superset includes specific configurations for YDB, which might need to be adjusted to accommodate database names with prefixes [2].
Bug description
Superset with YDB works fine with queries like
in SQL Lab.
But if database has a prefix, which should be defined like:
It fails with parsing error
Screenshots/recordings
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: