1 Answer
- Newest
- Most votes
- Most comments
0
To use a version of Hudi that AWS Glue doesn't support, specify your own Hudi JAR files using the --extra-jars job parameter. Do not include hudi as a value for the --datalake-formats job parameter. If you use AWS Glue 5.0 or above, you must set --user-jars-first true job parameter. You can review more on this here [1].
However, I would suggest using the supported versions if you continue to face issues when using the custom jar files.
=====References=====
[1] https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-format-hudi.html
Relevant content
asked 4 years ago
asked 4 years ago
asked 3 years ago

Hi and thank you for your answer. The problem i am facing appears to be a bug of aws in glue 5.1. The issue occurs when writing a file using the supported Hudi version in glue 5.1. During the process, the creation of the file <database>_$folder$ is missing. without this file athena can not query the data and attempted to read the file with spark results with the same issue. Can you please check this issue? I have reviewed the same code using glue 5.0 and it worked perfectly including the creation of the required metadata file.