dataform-co / dataform

Dataform is a framework for managing SQL based data operations in BigQuery
https://cloud.google.com/dataform/docs
Apache License 2.0
851 stars 163 forks source link

Dataform cli filtering union of tags and not intersection #1466

Open AnOtterGithubUser opened 1 year ago

AnOtterGithubUser commented 1 year ago

I have noticed that running dataform with the --tags flag runs any action which has at least one tag mentioned in the flag. The resulting behaviour is a union of actions. Ex: dataform run --tags A --tags B runs any action with tag A or tag B I would like to run the intersection of actions. Ex: dataform run --tags A --tags B would run actions with tag A AND tag B.
Is there any way to do it with the cli ? If not, it would be a nice feature Thanks

BenBirt commented 1 year ago

There's no way of doing this, no. Feature request understood, though!

AnOtterGithubUser commented 1 year ago

Thanks for the quick reply ! I can give it a try