-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DBT Semantic File Merging #132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM - it looks like the linter is failing, mainly with missing type annotations. @sfc-gh-jsummer could you go through the errors and add the missing type hints?
The test run is here, for reference (also at the CI checks at the bottom of the PR): https://github.com/Snowflake-Labs/semantic-model-generator/actions/runs/10515125961/job/29134523988?pr=132
and you can run the formatter locally using make fmt_lint
|
||
def upload_partner_semantic() -> bool: | ||
""" | ||
Upload the semantic model to a stage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to clarify - this doesn't actually upload the file to a snowflake stage, right? just imports the contents locally?
Add support to upload DBT semantic file(s) to merge into generated semantic file for Cortex Analyst. User receives a dialog box to configure merge specifics and further refine in existing semantic file workflow.
Out of an abundance of caution, I have not rebased given the frequency of changes occurring in the repo.