Zhangshunyu opened a new issue, #5992:
URL: https://github.com/apache/hudi/issues/5992

   hudi 0.11
   spark 3.1
   
   when enable metatable + dataskip, some query throws parquet decode exception:
   
   set hoodie.metadata.enable=true;
   set hoodie.metadata.index.column.stats.enable=true;
   set hoodie.fileIndex.dataSkippingFailureMode = strict;
   set hoodie.enable.data.skipping=true;
   query as following
   select * from hudi.hudi_test_table where  vin='abcde'  limit 1;
   
   org.apache.spark.SparkException: Job aborted due to stage failure: Task 25 
in s
   tage 6.0 failed 4 times, most recent failure: Lost task 25.3 in stage 6.0 
(TID 
   2628) (hello_host1 executor 283): java.lang
   .UnsupportedOperationException: 
org.apache.parquet.column.values.dictionary.Pla
   inValuesDictionary$PlainBinaryDictionary
        at org.apache.parquet.column.Dictionary.decodeToInt(Dictionary.java:45)
        at 
org.apache.spark.sql.execution.datasources.parquet.ParquetDictionary.deco
   deToInt(ParquetDictionary.java:31)
        at 
org.apache.spark.sql.execution.vectorized.OnHeapColumnVector.getInt(OnHea
   pColumnVector.java:298)
        at 
org.apache.spark.sql.vectorized.ColumnarBatchRow.getInt(ColumnarBatch.jav
   a:202)
        at 
org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafePr
   ojection.writeFields_0_9$(Unknown Source)
        at 
org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafePr
   ojection.apply(Unknown Source)
        at 
org.apache.spark.sql.execution.FileSourceScanExec.$anonfun$doExecute$4(Da
   taSourceScanExec.scala:495)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to