Skip to content

DeltaBitPackEncoderConversion: Fix panic message on invalid type#9552

Open
progval wants to merge 1 commit intoapache:mainfrom
progval:DeltaBitPackEncoderConversion-error-msg
Open

DeltaBitPackEncoderConversion: Fix panic message on invalid type#9552
progval wants to merge 1 commit intoapache:mainfrom
progval:DeltaBitPackEncoderConversion-error-msg

Conversation

@progval
Copy link
Contributor

@progval progval commented Mar 13, 2026

Which issue does this PR close?

Rationale for this change

DeltaBitPackDecoder supports Int32Type, UInt32Type, Int64Type, and UInt64Type; but the error message claimed it supported only Int32Type and Int64Type

What changes are included in this PR?

  • changed the error message
  • deduplicated the string
  • extended ensure_phys_ty!() to allow anything panic!() does

Are these changes tested?

no

Are there any user-facing changes?

only the panic message

@github-actions github-actions bot added the parquet Changes to the parquet crate label Mar 13, 2026
@progval progval force-pushed the DeltaBitPackEncoderConversion-error-msg branch from 30a208a to b2765c3 Compare March 13, 2026 17:32
@progval progval force-pushed the DeltaBitPackEncoderConversion-error-msg branch from b2765c3 to 6d517de Compare March 13, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parquet Changes to the parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"DeltaBitPackDecoder only supports Int32Type and Int64Type" but unsigned types are supported too

1 participant