Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuva macros not set up for dispatch #455

Open
tuvaforrest opened this issue May 7, 2024 · 0 comments
Open

Tuva macros not set up for dispatch #455

tuvaforrest opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tuvaforrest
Copy link
Contributor

Describe the bug
A community member is having trouble in postgres wtih the try_to_cast_date() function, and can't override it with a dispatch macro. I think its because we don't give our macros a macro_namespace argument, which dbt says is a requirement for that functionality.

To Reproduce

  • create your own version of a tuva macro, e.g. try_to_cast _date
  • add a dispatch config to your project
  - macro_namespace: 'the_tuva_project'
    search_order: ['your_project_name','the_tuva_project']```
- dbt build, and see that the package version is still being executed

**Expected behavior**
the overridden version should execute

**Screenshots**

**Environment**
* Package version (e.g. 0.6.0): 0.8.0
* Data warehouse (e.g. Snowflake): All

**Additional context**
@tuvaforrest tuvaforrest added the bug Something isn't working label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant