Skip to content
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

Python model failed due to elementary package issue #1179

Closed
pavandivve opened this issue Sep 27, 2023 · 1 comment
Closed

Python model failed due to elementary package issue #1179

pavandivve opened this issue Sep 27, 2023 · 1 comment
Labels
Bug Something isn't working Triage 👀

Comments

@pavandivve
Copy link

Describe the bug
We have recently started using Elementary package in our dbt project. it all working fine until a week ago. but suddenly our DBT pipeline started failing with error in one of the Python model with error "Materialization "materialization_table_snowflake" only supports languages ['sql']; got "python". we raised the issue with DBT support they then identified that it is because of elementary pacakge and issue got resolved with updating package version. we wondered how elementary package affected python model with out proper error message. can you please look into this and suggest why the problem occurred and how to fix those kind of issues in future.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'dbt project' and add below python model with elementary version 0.9.4.

snowflake

import pandas as pd
def model(dbt, session):
return pd.DataFrame({"id": [1]})

  1. Run above python model
  2. See error

Expected behavior
Python model should run successfully

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • dbt package Version: 0.9.4

Additional context
Add any other context about the problem here.

@pavandivve pavandivve added Bug Something isn't working Triage 👀 labels Sep 27, 2023
@haritamar
Copy link
Collaborator

Hi @pavandivve !
Thanks for opening this issue and sorry for the super delayed response, we are currently in the process of reviewing our open issues and improving our process there.
Since the issue has been open for over 3 months I'm going to go ahead to close it - please feel free to re-open if still relevant.

Thanks!
Itamar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage 👀
Projects
None yet
Development

No branches or pull requests

2 participants