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

Ignore exception for trying to resize a column with text255 compresssion encoding #1370

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

spenes
Copy link
Contributor

@spenes spenes commented Dec 13, 2024

Jira ref: PDP-1621

Pre-0.27.0 Schema DDL was making the compression encoding of 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, Schema DDL uses zstd compression encoding with enum fields as well starting with 0.27.0.

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. This PR is for catching and ignoring those exceptions.

…text255 compresssion encoding (#1370)

Pre-0.27.0 Schema DDL was making the compression encoding of 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, Schema DDL uses zstd compression encoding with enum fields
as well starting with 0.27.0.

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. This commit is for catching and ignoring
those exceptions.
Github removed sbt from the ubuntu runner image therefore we need to add sbt installation step to CI.
@spenes spenes force-pushed the fix/enum-resize-problem branch from dd27701 to 15eafda Compare December 13, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants