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

Parquet compression does not work for Spark SQL loading

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.4.0
    • None
    • SQL
    • None

    Description

      I tried to set the following parameters while loading data.

      set parquet.compression=snappy;
      set spark.sql.parquet.compression.codec=snappy;

      But, both above parameters do not work.

      [SQL]
      CREATE TABLE IF NOT EXISTS t2
      STORED AS PARQUET
      AS
      SELECT * FROM t1;

      t1 is an external table stored as TEXTFILE.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yiyao Yi Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: