Enable running local python code/models #9741
ismailsimsek
started this conversation in
Ideas
Replies: 4 comments 2 replies
-
will be great to add this to core |
Beta Was this translation helpful? Give feedback.
0 replies
-
this is now possible with opendbt project. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The ability to run local Python models (without Spark) would be especially important since dbt-fal (https://github.com/fal-ai/dbt-fal) has been discontinued. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Related dbt-labs/dbt-adapters#261 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently dbt allows running python inside destination system/database(snowpar, pyspark). But for some cases it is useful to run local python scripts
for example
web-api->local_dbt_python_model(reads data from api)->converts to pandas.dataframe->save_to_destination_table
for this probably
submit_local_python_job
method could be created. similar tosubmit_python_job
https://github.com/dbt-labs/dbt-adapters/blob/2a99e36a7479ec23f40456e89377419aae7388e7/dbt/adapters/base/impl.py#L1423
Beta Was this translation helpful? Give feedback.
All reactions