fal-ai / dbt-fal

do more with dbt. dbt-fal helps you run Python alongside dbt, so you can send Slack alerts, detect anomalies and build machine learning models.
https://fal.ai/dbt-fal
Apache License 2.0
851 stars 71 forks source link

selector for global scripts #711

Open smithj51 opened 1 year ago

smithj51 commented 1 year ago

Context I would like to be able use a selector to run certain global scripts, instead of having to run ALL global scripts.

Is your feature request related to a problem? Please describe. The current implementation: fal run --before --globals --exclude '*' runs all global scripts and skips model scripts.

Describe the solution you'd like I would like to be able to select and run individual global scripts by listing them similar to selecting model scripts.

Describe alternatives you've considered The only work-around I can think of at the moment is removing some global script names from the list in the schema.yml file and only keeping the global script names I want to run at that particular time. This works but requires frequent manipulation of the schema.yml file which is not ideal.

Is there an existing feature request for this?