calogica / dbt-expectations

Port(ish) of Great Expectations to dbt test macros
https://calogica.github.io/dbt-expectations/
Apache License 2.0
1.06k stars 130 forks source link

Update documentation to reflect correct argument names #175

Closed belasobral93 closed 2 years ago

belasobral93 commented 2 years ago

Example: Docs show

tests: -- dbt_expectations.expect_table_column_count_to_be_between: minimum: 1 maximum: 4

Which results in a compiler error. Macro shows arguments are actually min-value and max-value

clausherther commented 2 years ago

Hi @belasobral93 ! Thanks for this issue. Where are you seeing these docs? The current docs show the correct parameters: https://github.com/calogica/dbt-expectations#expect_table_column_count_to_be_between

belasobral93 commented 2 years ago

Hi @clausherther this is in dbt's package hub - i will close this issue and open one with dbt

clausherther commented 2 years ago

Hi @belasobral93 it's also correct on package hub, since they just pull the README from this repo:

image

You want to make sure you're looking at the latest package hub version: https://hub.getdbt.com/calogica/dbt_expectations/latest/ (note the latest in the URL)