soumilshah1995 commented on issue #10358:
URL: https://github.com/apache/hudi/issues/10358#issuecomment-1862835686

   I'm still encountering the same issue. I downloaded the JAR files and 
uploaded them to S3 as instructed in the ticket. I also utilized the Glue job 
mentioned earlier, but the error persists.
   
   
   
   ```
   ![Screenshot 2023-12-19 at 9 13 46 
AM](https://github.com/apache/hudi/assets/39345855/31a26d80-551a-4f1b-97ae-6d0633854661)
   
   : org.apache.hudi.internal.schema.HoodieSchemaException: Failed to convert 
struct type to avro schema: StructType(StructField(emp_id,LongType,true), 
StructField(employee_name,StringType,true), 
StructField(department,StringType,true), StructField(state,StringType,true), 
StructField(salary,LongType,true), StructField(age,LongType,true), 
StructField(bonus,LongType,true), StructField(ts,LongType,true))
        at 
org.apache.hudi.AvroConversionUtils$.convertStructTypeToAvroSchema(AvroConversionUtils.scala:147)
        at 
org.apache.hudi.HoodieSparkSqlWriter$.writeInternal(HoodieSparkSqlWriter.scala:276)
        at 
org.apache.hudi.HoodieSparkSqlWriter$.write(HoodieSparkSqlWriter.scala:132)
        at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:150)
        at 
org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:46)
        at 
org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
        at org.apac
   ```


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