Repository navigation
Feedback on a Polaris/Ossie semantic layer integration #46271
mfournioux
started this conversation in
Ideas
Replies: 1 comment
|
@betodealmeida, I tested your pandas-semantic-layer extension with Superset 7.0.0rc1. As I understand it, it uses in-memory data rather than a SQL database. For SQL-backed providers, should we use Superset’s Database.execute() and derive the dialect from the selected connection, or is there another recommended approach? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I would like feedback on a proposed contribution before opening a PR.
I have implemented a prototype that loads Apache Ossie semantic models from Apache Polaris and queries the underlying data through an existing Superset data connection, such as Trino. Polaris stores the model; the connected engine executes the generated SQL.
The prototype exposes models as semantic views for Explore charts. It also supports semantic SQL in SQL Lab and makes the generated physical SQL available for inspection. For charts, it reuses Superset’s query generator through a temporary virtual dataset; for SQL Lab, it translates semantic SQL and uses Superset’s native execution path.
The intended behavior is for the generated SQL to match the dialect of the configured data connection—for example, Trino, BigQuery, or Snowflake. The prototype can generate SQL for different dialects, but BigQuery and Snowflake have not yet been validated end to end.
Before preparing a contribution, I would appreciate guidance on:
Thank you for your guidance!
All reactions