aloneguid / parquet-dotnet

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

[BUG]: Exception: scale must be less than the precision #503

Closed sierzput closed 1 month ago

sierzput commented 2 months ago

Library Version

4.23.5

OS

Windows, Linux

OS Architecture

64 bit

How to reproduce?

  1. Create parquet file with decimal column with scale and precision set to the same value, eg. 6
  2. While loading the file exception is thrown 1 error(s) occured: scale must be less than the precision (Parameter 'scale')

According to the documentation

Scale must be zero or a positive integer less than or equal to the precision

Failing test

No response

sierzput commented 1 month ago

@aloneguid Can you release new version with this fix?