gtwuser commented on issue #5880:
URL: https://github.com/apache/hudi/issues/5880#issuecomment-1158092123

   Small update i tried reading the data from aws glue table using below code, 
its failing with error:
   ```bash
   import sys
   from awsglue.transforms import Join
   from awsglue.utils import getResolvedOptions
   from pyspark.context import SparkContext
   from awsglue.context import GlueContext
   from awsglue.job import Job
   
   glueContext = GlueContext(SparkContext.getOrCreate())
   
   data = 
glueContext.create_dynamic_frame.from_catalog(database="ingestion_hudi_db_392d4f60",
 table_name="ingestion_details")
   print("Count: ", data.count())
   data.printSchema()
   ```
   Error received :
   ```bash
   An error occurred while calling o84.getDynamicFrame. 
s3://hudi-bucket-392d4f60/ingestion/.hoodie/20220616185638342.commit is not a 
Parquet file. expected magic number at tail [80, 65, 82, 49] but found [32, 
125, 10, 125]
   ```
   Whats confusing me is how is it all working fine with de-duplication and no 
such errors while even Aws athena is reading from same table. :\ 


-- 
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