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

Fixed a bug in managing context objects #5195

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

malhotrashivam
Copy link
Contributor

@malhotrashivam malhotrashivam commented Feb 26, 2024

A bug got introduced in how context objects are managed by ColumnChunkPageStore in #4972.

The code assumed that the inner context is a ChannelContextWrapper, which prevents us from intermixing other types of column locations with Parquet ones. For example, If we mixs Deephaven format with Parquet format, this crashes because the first location is Deephaven format with a non-null inner context. When it comes around to the next location (which is the parquet location) it dies because it just assumes that a non-null inner context means a Parquet one was created before.

This bug was found by @abaranec while trying to merge in 0.33.0 into Core+.

@malhotrashivam malhotrashivam added parquet Related to the Parquet integration NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed. s3 labels Feb 26, 2024
@malhotrashivam malhotrashivam self-assigned this Feb 26, 2024
@malhotrashivam malhotrashivam merged commit c721ab7 into deephaven:main Feb 26, 2024
27 checks passed
@malhotrashivam malhotrashivam added the bug Something isn't working label Feb 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 26, 2024
@malhotrashivam malhotrashivam changed the title Added fix for bug in managing context objects Fixed a bug in managing context objects Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed. parquet Related to the Parquet integration s3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants