InfuseAI / piperider

Code review for data in dbt
https://www.piperider.io/
Apache License 2.0
478 stars 23 forks source link

Add options to pass a dbt profile and a dbt target to `piperider run` #898

Closed yu-iskw closed 10 months ago

yu-iskw commented 10 months ago

Is your feature request related to a problem? Please describe. As pipefider run doesn't have options to specify a dbt profile and a dbt target, we can use only the default profile and target.

Describe the solution you'd like I would like to add the two options --dbt-profile and --dbt-target which are equivalent to the --profile and target options of dbt build.

piperider run --dbt-profile xxx --dbt-target xxx

Describe alternatives you've considered I have no ideas of any alternative solutions.

Additional context

popcornylu commented 10 months ago

Currently, you can use piperider --datasource to specify the target name.

It's a good idea to add --dbt-profile and --dbt-target

Add the internal ticket sc-32422

popcornylu commented 10 months ago

Added in v0.37.0

  --dbt-target TEXT             Specify which dbt target to load for the given
                                dbt profile.
  --dbt-profile TEXT            Specify which dbt profile to load. Overrides
                                setting in dbt_project.yml.
yu-iskw commented 10 months ago

@popcornylu Thank you for quickly supporting it!

jrmbrgs commented 7 months ago

Hello, Trying Piperider in github actions, It sounds it's not possible to specify the profile in https://github.com/InfuseAI/piperider-compare-action...

Did I missed smthg ?