prashantwason commented on a change in pull request #1687:
URL: https://github.com/apache/hudi/pull/1687#discussion_r435512867



##########
File path: 
hudi-client/src/main/java/org/apache/hudi/table/action/rollback/RollbackHelper.java
##########
@@ -71,8 +71,9 @@ public RollbackHelper(HoodieTableMetaClient metaClient, 
HoodieWriteConfig config
    */
   public List<HoodieRollbackStat> performRollback(JavaSparkContext jsc, 
HoodieInstant instantToRollback, List<RollbackRequest> rollbackRequests) {
 
+    String basefileExtension = 
metaClient.getTableConfig().getBaseFileFormat().getFileExtension();
     SerializablePathFilter filter = (path) -> {
-      if (path.toString().contains(".parquet")) {
+      if (path.toString().contains(basefileExtension)) {

Review comment:
       Except for tests I have removed all occurrences. Left a few TODOs for 
test functions which can be removed.




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


Reply via email to