Enable running local python code/models #9741
Replies: 5 comments 2 replies
-
will be great to add this to core |
Beta Was this translation helpful? Give feedback.
-
this is now possible with opendbt project. |
Beta Was this translation helpful? Give feedback.
-
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.
-
Related dbt-labs/dbt-adapters#261 |
Beta Was this translation helpful? Give feedback.
-
We are also interested in this feature |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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