You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Filipe Gonzaga Miranda (JIRA)" <ji...@apache.org> on 2018/12/31 10:46:00 UTC

[jira] [Created] (SPARK-26509) Parquet DELTA_BYTE_ARRAY is not supported in Spark 2.x's Vectorized Reader

Filipe Gonzaga Miranda created SPARK-26509:
----------------------------------------------

             Summary: Parquet DELTA_BYTE_ARRAY is not supported in Spark 2.x's Vectorized Reader
                 Key: SPARK-26509
                 URL: https://issues.apache.org/jira/browse/SPARK-26509
             Project: Spark
          Issue Type: Bug
          Components: Spark Core, SQL
    Affects Versions: 2.4.0
            Reporter: Filipe Gonzaga Miranda


I get the exception below Spark 2.4 reading parquet files where some columns are DELTA_BYTE_ARRAY encoded.

 
{code:java}
java.lang.UnsupportedOperationException: Unsupported encoding: DELTA_BYTE_ARRAY
 
{code}
 

If the property:



spark.sql.parquet.enableVectorizedReader is set to false that works

The parquet files were written with Parquet V2, and as far as I understand the V2 is the version used in Spark 2.x.

 I did not find any property to change which Parquet Version Spark uses (V1, V2).

Is there anyway to benefit from the Vectorized Reader? Or this is something like a new implementation to support this version? I would propose so.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org