empcl commented on code in PR #10413:
URL: https://github.com/apache/hudi/pull/10413#discussion_r1437961482


##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/procedures/RepairOverwriteHoodiePropsProcedure.scala:
##########
@@ -57,7 +67,7 @@ class RepairOverwriteHoodiePropsProcedure extends 
BaseProcedure with ProcedureBu
     val metaClient = 
HoodieTableMetaClient.builder.setConf(jsc.hadoopConfiguration()).setBasePath(tablePath).build
 
     var newProps = new Properties
-    newProps.load(new FileInputStream(overwriteFilePath))
+    loadNewProps(overwriteFilePath, newProps)

Review Comment:
   hi, maybe I didn't express myself clearly before. Let me summarize, could 
you please help me take a look. The previous implementation was to read user 
specified files through `FileInputStream`. At this time, there will be a file 
does not exist exception. So I made modifications to this area and used 
`FSDataInputStream [fs.open(new Path(filePath))]` to read the data from the 
specified file.



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