Skip to content

Add the wisdom-semantic-view converter - #490

Open
aalladin wants to merge 2 commits into
apache:mainfrom
aalladin:wisdom-semantic-view
Open

aalladin wants to merge 2 commits into
apache:mainfrom
aalladin:wisdom-semantic-view

Conversation

@aalladin

Copy link
Copy Markdown

How to test this with no WisdomAI UI and no Snowflake account

You do not need the WisdomAI UI, a WisdomAI login, a Snowflake account, or a warehouse. The inputs are files in tests/fixtures/finance/.

From converters/wisdom-semantic-view:

uv sync
uv run pytest
uv run ossie-wisdom-semantic-view to-wisdom tests/fixtures/finance/snowflake/cfo_cockpit.before.yaml --enrich tests/fixtures/finance/wisdom/enrichment.yaml -o /tmp/finance-domain.json
uv run ossie-wisdom-semantic-view to-semantic-view /tmp/finance-domain.json -o /tmp/finance-after.yaml

pytest exits 0. Both commands exit 0. The semantic-view diff only adds the revenue metric, the synonyms revenue, net revenue, and board revenue, and the February fiscal-year sql_generation line.

This converts one Snowflake semantic view YAML to an Ossie document, then to Wisdom domain-export JSON format 1.0, and back.

Ali Alladin added 2 commits September 29, 2026 15:15
A reviewer with no WisdomAI login and no Snowflake warehouse needs the
commands and the expected diff at the top of the README.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant