You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "MasslessParticle (via GitHub)" <gi...@apache.org> on 2025/09/03 22:53:35 UTC

[I] [Go][Parquet] unsupported dictionary encoding types result in panic [arrow-go]

MasslessParticle opened a new issue, #490:
URL: https://github.com/apache/arrow-go/issues/490

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   When a column is dictionary encoded but the type doesn't exist as a typed dictionary encoder, the columns writer panics.
   
   To reproduce: run [this test](https://github.com/apache/arrow-go/blob/3c01efba60abe1421a49ac21c95858dbfccd78d6/parquet/pqarrow/encode_dictionary_test.go#L70-L111) with `arrow.PrimitiveTypes.Uint8` and observe a panic resulting from [this](https://github.com/apache/arrow-go/blob/3c01efba60abe1421a49ac21c95858dbfccd78d6/parquet/internal/encoding/typed_encoder.go#L165) type assertion. The underlying cause, in this specific case, is because the underlying type is `uint8` but the encoder is `int32`
   
   ### Component(s)
   
   Parquet


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Go][Parquet] unsupported dictionary encoding types result in panic [arrow-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #490: [Go][Parquet] unsupported dictionary encoding types result in panic
URL: https://github.com/apache/arrow-go/issues/490


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org