Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-46403

Decode parquet binary with getBytesUnsafe method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      Now spark will get a parquet binary object with getBytes() method.

      The Binary.getBytes() method will always make a new copy of the internal bytes.

      We can use Binary.getBytesUnsafe() method to get the cached bytes if it has already been called getBytes() and has the cached bytes.

      Attachments

        Issue Links

          Activity

            People

              wankun Wan Kun
              wankun Wan Kun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: