betodealmeida opened a new pull request, #37819: URL: https://github.com/apache/superset/pull/37819
<!--- Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/ Example: fix(dashboard): load charts correctly --> ### SUMMARY <!--- Describe the change below, including rationale and design decisions --> Feature with stacked PRs for testing the semantic layer integration. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> <img width="1728" height="1080" alt="Screenshot 2026-02-09 at 2 56 13 PM" src="https://github.com/user-attachments/assets/e0d29ab3-0ed0-4659-b17e-3f9cda036dda" /> ### TESTING INSTRUCTIONS <!--- Required! What steps can be taken to manually verify the changes? --> 1. Create `docker/extensions/` and copy the 0.1.1 version of the Pandas semantic layer: https://github.com/betodealmeida/pandas-semantic-layer/releases (this is a pseudo-semantic layer for testing, with a single Pandas dataframe). 2. Run `docker compose up`. 3. Create the semantic layer (right now there's no CRUD): ```bash docker exec -it superset-superset-1 bash python superset/create_pandas_semantic_layer.py ... 2026-02-09 20:39:04,890:INFO:__main__:============================================================ 2026-02-09 20:39:04,890:INFO:__main__:Creating Pandas Semantic Layer and Sales Semantic View 2026-02-09 20:39:04,890:INFO:__main__:============================================================ 2026-02-09 20:39:04,890:INFO:__main__:Creating Pandas semantic layer... 2026-02-09 20:39:04,895:INFO:__main__:Created semantic layer: 2026-02-09 20:39:04,896:INFO:__main__: Name: Pandas Semantic Layer 2026-02-09 20:39:04,896:INFO:__main__: UUID: d1e61694-e97c-42e3-93a9-d672d28bf38a 2026-02-09 20:39:04,896:INFO:__main__: Type: pandas 2026-02-09 20:39:04,896:INFO:__main__:Creating Sales semantic view... 2026-02-09 20:39:04,899:INFO:__main__:Created semantic view: 2026-02-09 20:39:04,900:INFO:__main__: Name: sales 2026-02-09 20:39:04,900:INFO:__main__: UUID: ab4dc55b-8f93-4e67-93a2-c96a97253b0f 2026-02-09 20:39:04,900:INFO:__main__: Semantic Layer UUID: d1e61694-e97c-42e3-93a9-d672d28bf38a ``` Copy the UUID of the semantic view (`ab4dc55b-8f93-4e67-93a2-c96a97253b0f` in this example, but yours will be different) and visit: http://localhost/explore/?datasource_type=semantic_view&datasource_id=${uid} ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
