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

Fix Redshift compatibility #123

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

mirosval
Copy link
Contributor

@mirosval mirosval commented Nov 4, 2021

The expect_table_columns_to_match_ordered_list macro is using column
names as direct strings, which doesn't work on Redshift without an
explicit cast to string.

This cast was added previously and removed again in
c698a1a#diff-14b201719d47d2b58e18a4896f8cb1d1f0bc3b414694499ef5eb738b683fb955L11-L12

Fixes #122

I have not tested this, just applied the previous fix.

The `expect_table_columns_to_match_ordered_list` macro is using column
names as direct strings, which doesn't work on Redshift without an
explicit cast to string.

This cast was added previously and removed again in
calogica@c698a1a#diff-14b201719d47d2b58e18a4896f8cb1d1f0bc3b414694499ef5eb738b683fb955L11-L12
@clausherther clausherther self-requested a review November 4, 2021 12:47
Copy link
Contributor

@clausherther clausherther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on supported platforms. LGTM, thanks! 👍

@clausherther
Copy link
Contributor

I'll cut a new release this weekend, possible pending another PR. Thanks for this quick fix!

@clausherther clausherther merged commit 6606d6b into calogica:main Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in expect_table_columns_to_match_ordered_list
2 participants