aloneguid / parquet-dotnet

Fully managed Apache Parquet implementation
https://aloneguid.github.io/parquet-dotnet/
MIT License
542 stars 140 forks source link

[BUG]: Reading decimal fields ignores precision and scale #482

Closed sierzput closed 3 months ago

sierzput commented 4 months ago

Library Version

4.23.4

OS

Windows, Linux

OS Architecture

AMD64, ARM64

How to reproduce?

  1. Create parquet file (eg. using external tool) with decimal fields with precision and scale different than defaults (eg. precision = 29, scale = 6).
  2. Read parquet table.
  3. Write parquet to new file.
  4. Output file has decimal fields with default precision and scale (precision = 38, scale = 18)

Failing test

No response