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

Support LZ4 compression in ORC data source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • SQL
    • None

    Description

      Apache ORC supports LZ4 compression, but we cannot set LZ4 compression in the ORC data source

      scala> spark.range(10).write.option("compression", "lz4").orc("/tmp/lz4")
      java.lang.IllegalArgumentException: Codec [lz4] is not available. Available codecs are uncompressed, lzo, snappy, zlib, none, zstd.

      Attachments

        Activity

          People

            fornaix Han
            fornaix Han
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: