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
[C++] [Parquet] Writing uint32 does not preserve parquet's LogicalType #28020
Comments
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
Jorge Leitão / @jorgecarleitao: In this case, doesn't compatibility require setting ConvertedType = UINT_32? |
Antoine Pitrou / @pitrou: |
Jorge Leitão / @jorgecarleitao: |
Micah Kornfield / @emkornfield: |
When writing a
uint32
column, (parquet's) logical type is not written, limiting interoperability with other engines.Minimal Python
Inspecting it with spark:
shows
StructType(List(StructField(uint32,LongType,true)))
. "LongType" indicates that the field is interpreted as a 64 bit integer. Further inspection of the metadata shows that both convertedType and logicalType are not being set. Note that this is independent of the arrow-specific schema written in the metadata.Reporter: Jorge Leitão / @jorgecarleitao
Related issues:
Note: This issue was originally created as ARROW-12201. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: