You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nandubatchu (via GitHub)" <gi...@apache.org> on 2023/08/08 17:57:41 UTC

[GitHub] [hudi] nandubatchu opened a new issue, #9399: [SUPPORT] Unable to read column_stats sub-table of a HUDI table for some tables

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

   **Describe the problem you faced**
   
   Not able to read the column_stats index table for some of the HUDI tables from spark
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   Enabled the metadata indexing using these flags: 
   ```
   {
     'hoodie.metadata.index.column.stats.enable': 'true',
     'hoodie.metadata.index.bloom.filter.enable' : 'true',
     'hoodie.metadata.index.column.stats.column.list' : column_stats_list
   }
   ```
   
   
   **Expected behavior**
   
   Should return back the column_stats metadata index records of the HUDI table
   
   **Environment Description**
   
   * Hudi version : 0.13
   
   * Spark version : 3.1
   
   * Storage (HDFS/S3/GCS..) : S3
   
   * Running on Docker? (yes/no) : no
   
   
   **Additional context**
   
   glue interactive session script used to validate the same (works for some of the datasets! - does it mean metadata is corrupted?)
   
   ```
   import time
   from pyspark.sql import SparkSession
   spark = SparkSession.builder.config("spark.serializer", "org.apache.spark.serializer.KryoSerializer") \
   .config("hoodie.metadata.enable", "true") \
   .config("hoodie.enable.data.skipping", "true") \
   .getOrCreate()
   df = spark.read.format("hudi").load("s3://<REDACTED>/.hoodie/metadata/column_stats")
   df.head(10)
   ```
   
   **Stacktrace**
   
   ```Py4JJavaError: An error occurred while calling o164.collectToPython.
   : java.lang.NoSuchMethodError: org.apache.spark.sql.execution.datasources.PartitionedFile.<init>(Lorg/apache/spark/sql/catalyst/InternalRow;Ljava/lang/String;JJ[Ljava/lang/String;)V```
   
   


-- 
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: commits-unsubscribe@hudi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [SUPPORT] Unable to read column_stats sub-table of a HUDI table for some tables [hudi]

Posted by "codope (via GitHub)" <gi...@apache.org>.
codope closed issue #9399: [SUPPORT] Unable to read column_stats sub-table of a HUDI table for some tables
URL: https://github.com/apache/hudi/issues/9399


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [SUPPORT] Unable to read column_stats sub-table of a HUDI table for some tables [hudi]

Posted by "ad1happy2go (via GitHub)" <gi...@apache.org>.
ad1happy2go commented on issue #9399:
URL: https://github.com/apache/hudi/issues/9399#issuecomment-1919299172

   Closing this out. Please reopen in case you still facing this issue.


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [SUPPORT] Unable to read column_stats sub-table of a HUDI table for some tables [hudi]

Posted by "ad1happy2go (via GitHub)" <gi...@apache.org>.
ad1happy2go commented on issue #9399:
URL: https://github.com/apache/hudi/issues/9399#issuecomment-1919299483

   @nandubatchu 
   


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [hudi] danny0405 commented on issue #9399: [SUPPORT] Unable to read column_stats sub-table of a HUDI table for some tables

Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on issue #9399:
URL: https://github.com/apache/hudi/issues/9399#issuecomment-1676731094

   Seems a spark version compatibility issue.


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [SUPPORT] Unable to read column_stats sub-table of a HUDI table for some tables [hudi]

Posted by "ad1happy2go (via GitHub)" <gi...@apache.org>.
ad1happy2go commented on issue #9399:
URL: https://github.com/apache/hudi/issues/9399#issuecomment-1815166488

   @nandubatchu Were you able to resolve spark-hud version compatibility issue in your setup? Feel free to close if all good. Thanks.


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org