vburenin commented on issue #2641: URL: https://github.com/apache/hudi/issues/2641#issuecomment-828067521
Okay, the fix apparently easy. The exception IncompatibleSchemaException is only being thrown and never handled anywhere. so it is used only for the reason as a reusable code. However, the problem doesn't stop there. Here is more errors after I fixed it: ``` [ERROR] /Users/vburenin/workspace/hudi/hudi-release-0.8.0/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieMergeOnReadRDD.scala:121: error: class AvroDeserializer in package avro cannot be accessed in package org.apache.spark.sql.avro [ERROR] private val deserializer = new AvroDeserializer(requiredAvroSchema, tableState.requiredStructSchema) [ERROR] ^ [ERROR] /Users/vburenin/workspace/hudi/hudi-release-0.8.0/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieMergeOnReadRDD.scala:160: error: not found: type AvroDeserializer [ERROR] private val deserializer = new AvroDeserializer(requiredAvroSchema, tableState.requiredStructSchema) [ERROR] ^ [ERROR] /Users/vburenin/workspace/hudi/hudi-release-0.8.0/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieMergeOnReadRDD.scala:205: error: class AvroSerializer in package avro cannot be accessed in package org.apache.spark.sql.avro [ERROR] private val serializer = new AvroSerializer(tableState.tableStructSchema, tableAvroSchema, false) [ERROR] ^ [ERROR] /Users/vburenin/workspace/hudi/hudi-release-0.8.0/hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieMergeOnReadRDD.scala:206: error: not found: type AvroDeserializer [ERROR] private val requiredDeserializer = new AvroDeserializer(requiredAvroSchema, tableState.requiredStructSchema) ``` -- 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. For queries about this service, please contact Infrastructure at: [email protected]
