This message was deleted.
# troubleshooting
s
This message was deleted.
s
Sounds like a decoding problem in the Parquet reader. I'll preface this with I don't know the code well, so I could be completely off the mark. But, I looked at the parquet extension code and found what may be the issue, precision and scale are not used when dealing with precisions < 19 which in turn seems to just represent it as the internal integer type: https://github.com/apache/druid/blob/2086ff88bcdbfdba507d52d78bd3c7605beab280/exte[…]ache/druid/data/input/parquet/simple/ParquetGroupConverter.java Someone with more code experience should take a look.
g
I dont understand this code to be frank.. will try share around to make sense. Hope there was a work around. For the time being, I reverted the datatype to float in our iceberg/parquet and it works. But it has an issue that if I store round(value, 2) as float -> then 0.13 is actually stored as 0.129999999 .. I am assuming this is because float is an approximation type and hence cannot store exact values like decimal.
s
I'm also facing this issue. Is there any solution for this ?