Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-744 LazyIO of non-filter columns
  3. ORC-758

Avoid decompressing compressed streams if already decompressed

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • Java
    • None

    Description

      The current behavior of `InStream.CompressedStream` does not avoid seek and decompression if the required position is already decompressed and available.

      This results in multiple decompressions of the same compression blocks. This can be avoided by tracking the current position and avoid decompression if we are at the required position already.

      Attachments

        Issue Links

          Activity

            People

              planka Pavan Lanka
              planka Pavan Lanka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: