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

[BUG] print_list macro does not honor capitalization #422

Open
aroder opened this issue Apr 30, 2024 · 0 comments · May be fixed by re-data/dbt-re-data#129
Open

[BUG] print_list macro does not honor capitalization #422

aroder opened this issue Apr 30, 2024 · 0 comments · May be fixed by re-data/dbt-re-data#129
Labels
bug Something isn't working

Comments

@aroder
Copy link

aroder commented Apr 30, 2024

Describe the bug
There is a macro named print_list that prints a list of columns, useful in dynamic select statements. However, it assumes all column names are all capital letters, which is the default behavior of snowflake

Expected behavior
Columns with mixed case can take samples without error

To Reproduce
Create a table with forced mixed case "exampleColumn"
Configure re_data to take samples from the table
Attempt to run re_data

Screenshots

(models/internal/samples/re_data_last_table_samples.sql)', '000904 (42000): SQL compilation error: error line 2 at position 4', "invalid identifier 'CHECKOUTSUCCEEDED'", '13:08:25', '13:08:25

Logs and additional context
If application, any other context, logs etc.here

@aroder aroder added the bug Something isn't working label Apr 30, 2024
aroder added a commit to Datateer/dbt-re-data that referenced this issue Apr 30, 2024
@aroder aroder linked a pull request Apr 30, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant