Closed damiendr closed 3 years ago
parquet-go will happily accept DELTA_BINARY_PACKED for floating point numbers. As far as I understand this is not allowed by the Parquet spec.
At the moment parquet-go does not raise any error and creates a .parquet file that cannot be read back by parquet-tools:
parquet-tools
Go source: https://gist.github.com/damiendr/60b67d9861f5cce3479861b82f7e9458
$ go build $ ./test-parquet $ parquet-tools cat --json out.parquet org.apache.parquet.io.ParquetDecodingException: Can not read value at 0 in block -1 in file file:/path/out.parquet
hi, @damiendr Fixed in this merge from @pkf (https://github.com/xitongsys/parquet-go/pull/359). Thanks @pkf
parquet-go will happily accept DELTA_BINARY_PACKED for floating point numbers. As far as I understand this is not allowed by the Parquet spec.
At the moment parquet-go does not raise any error and creates a .parquet file that cannot be read back by
parquet-tools
:Go source: https://gist.github.com/damiendr/60b67d9861f5cce3479861b82f7e9458