Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
To check whether it should fallback to plain encoding, DictionaryValuesWriter currently use two variables: dictionaryByteSize and maxDictionaryByteSize, both of which are integer. This will cause issue when one first writes a relatively small binary within the threshold and then write a huge string which cause dictionaryByteSize overflow and becoming negative.
Attachments
Issue Links
- relates to
-
PARQUET-2164 CapacityByteArrayOutputStream overflow while writing causes negative row group sizes to be written
- Resolved