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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to