Bsearce commented on issue #11588:
URL: https://github.com/apache/hudi/issues/11588#issuecomment-2267597067

   > > java.lang.ClassCastException: class 
org.apache.spark.sql.types.StructType cannot be cast to class 
org.apache.spark.sql.types.MapType
   > 
   > It looks like the schema of the input data_frame is inconsistent with the 
table creation schema, did you check that?
   
   @danny0405  - We read schema from schema file and create spark dataframe.  
Hence, the column name and data type should be more compatible to spark 
datatypes.


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