Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3995

Support presto querying older complex type stores

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      Before carbon 2.0, complex child length is stored as SHORT for string, varchar, binary, date, decimal types.
      So, In 2.0 as it is stored as INT, presto complex query code always assumes it as INT
      and goes to out of bound exception when old store is queried.

       

      If INT_LENGTH_COMPLEX_CHILD_BYTE_ARRAY encoding is present, parse as INT, else parse as SHORT.
      so, that both stores can be queried.

      Attachments

        Activity

          People

            Ajantha_Bhat Ajantha Bhat
            Ajantha_Bhat Ajantha Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m