You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parquet spec doesn't seem to describe the textual representation of schema, and in Thrift file the order is scale, precision but in SQL representation of DECIMAL (which Java implementation seems to be following) the order is precision{, scale}.
To Reproduce
Use print_schema on a Parquet file containing decimals.
Expected behavior
Logical type is correctly formatted and follows conventional style DECIMAL(precision, scale)
The text was updated successfully, but these errors were encountered:
Describe the bug
When printing out the schema of a parquet file (written by Spark) using Java implementation of
parquet-schema
I get:But when I use
parquet::schema::printer::print_schema
I get:Issues:
Parquet spec doesn't seem to describe the textual representation of schema, and in Thrift file the order is scale, precision but in SQL representation of DECIMAL (which Java implementation seems to be following) the order is
precision{, scale}
.To Reproduce
Use
print_schema
on a Parquet file containing decimals.Expected behavior
Logical type is correctly formatted and follows conventional style
DECIMAL(precision, scale)
The text was updated successfully, but these errors were encountered: