This is an automated email from the ASF dual-hosted git repository.

danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 25c2f594938 [MINOR] Remove redundant variable in 
MetadataBootstrapHandlerFactory (#8158)
25c2f594938 is described below

commit 25c2f5949384def4b22d1a77f3fe76cc0d493f06
Author: huangxiaoping <[email protected]>
AuthorDate: Mon Mar 13 09:12:31 2023 +0800

    [MINOR] Remove redundant variable in MetadataBootstrapHandlerFactory (#8158)
---
 .../hudi/table/action/bootstrap/MetadataBootstrapHandlerFactory.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/bootstrap/MetadataBootstrapHandlerFactory.java
 
b/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/bootstrap/MetadataBootstrapHandlerFactory.java
index 285467f9ff2..9fa9e1cbf73 100644
--- 
a/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/bootstrap/MetadataBootstrapHandlerFactory.java
+++ 
b/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/bootstrap/MetadataBootstrapHandlerFactory.java
@@ -35,7 +35,6 @@ public class MetadataBootstrapHandlerFactory {
     Path sourceFilePath = FileStatusUtils.toPath(srcFileStatus.getPath());
 
     String extension = FSUtils.getFileExtension(sourceFilePath.toString());
-    BootstrapMetadataHandler bootstrapMetadataHandler;
     if (ORC.getFileExtension().equals(extension)) {
       return new OrcBootstrapMetadataHandler(config, table, srcFileStatus);
     } else if (PARQUET.getFileExtension().equals(extension)) {

Reply via email to