Doug Beatty

Results 626 comments of Doug Beatty

I'm using the `zsh` shell in macOS to compare v1.7 and v1.8, and loading my environment variables using [`direnv`](https://direnv.net/). It is working the same way in both environments for me....

@DanMawdsleyBA I'm not sure what's going on here. We did make an update within `env_var` a handful of months ago within https://github.com/dbt-labs/dbt-core/pull/9489, but nothing is standing out to me that...

@DanMawdsleyBA glad that we discovered a workaround by changing the variable name to uppercase. We're wondering if something about the caching implementation of https://github.com/dbt-labs/dbt-core/pull/9489 lost [Windows' case-insensitivity of environment variable...

### Workaround I don't know the root cause, but here's a workaround in the meantime: - use uppercase names whenever using the `env_var` macro This workaround was successful for me...

@kanenorman I'm pretty sure there's something that is affecting Windows users specifically, and I'd like to keep this issue focused on that. Since you are experiencing the same error message...

Thanks for reporting this @thijs-nijhuis-shell ! ### Reprex ✅ When using [this](https://docs.getdbt.com/blog/announcing-unit-testing#hello-unit-testing-world) simple example, these all work for me: ```shell dbt list --select "resource_type:unit_test" dbt list --select "test_type:unit" dbt list...

@thijs-nijhuis-shell I got the same thing as you with `dbt test --resource-type unit_test` -- `Error: No such option: --resource-type`. We should get the same error message if we do `dbt...

@seub to your point, I agree that we should rationalize `--resource-type` vs. `--select resource_type:` across dbt sub-commands and resource types so that the behavior is both understandable and consistent. In...

A few different things came up in the course of this thread: 1. `dbt build --resource-type unit_test` always says "Nothing to do" no matter what (original issue) [[1](https://github.com/dbt-labs/dbt-core/issues/10267#issuecomment-2153369406)] 1. `dbt...

> Would be a nice addition to have these available for the test command as well btw! @thijs-nijhuis good news: this was implemented in https://github.com/dbt-labs/dbt-core/pull/10706, and it will be available...