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

Redshift: use zstd compression encoding instead text255 with the columns for enum fields #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spenes
Copy link
Contributor

@spenes spenes commented Dec 13, 2024

Jira ref: PDP-1621

Currently, we make the compression encoding of the columns for enum fields text255. However, text255 doesn't allow to alter the column therefore we get exception while trying to resize the column. In order to solve this problem, we decided to use zstd compression encoding with enum fields as well.

Encoding of the newly created columns for enum fields will be zstd after this change however compression encoding of the existing columns won't be updated after this change and we will continue to get exception when those columns are tried to be resized. Those exception will be caught and ignored in RDB Loader.

@coveralls
Copy link

coveralls commented Dec 13, 2024

@spenes spenes changed the title Use zstd compression encoding instead text255 with the columns for enum fields Redshift: use zstd compression encoding instead text255 with the columns for enum fields Dec 13, 2024
…mns for enum fields (#215)

Currently, we make the compression encoding of the columns for enum fields text255.
However, text255 doesn't allow to alter the column therefore we get exception while
trying to resize the column. In order to solve this problem, we decided to use zstd
compression encoding with enum fields as well.

Encoding of the newly created columns for enum fields will be zstd after this change
however compression encoding of the existing columns won't be updated after this
change and we will continue to get exception when those columns are tried to be resized.
Those exception will be caught and ignored in RDB Loader.
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.

3 participants