Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2052

Integer overflow when writing huge binary using dictionary encoding

    XMLWordPrintableJSON

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

          Activity

            People

              csun Chao Sun
              csun Chao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: