harsh1231 commented on a change in pull request #4353:
URL: https://github.com/apache/hudi/pull/4353#discussion_r774554053



##########
File path: 
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/AvroDFSSource.java
##########
@@ -45,6 +45,7 @@
   public AvroDFSSource(TypedProperties props, JavaSparkContext sparkContext, 
SparkSession sparkSession,
       SchemaProvider schemaProvider) throws IOException {
     super(props, sparkContext, sparkSession, schemaProvider);
+    
sparkContext.hadoopConfiguration().set("avro.schema.input.key",schemaProvider.getSourceSchema().toString());

Review comment:
       Fixed it 




-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to