lamber-ken commented on issue #1105: [HUDI-405] Fix sync no hive partition at 
first time
URL: https://github.com/apache/incubator-hudi/pull/1105#issuecomment-566858402
 
 
   hi, @vinothchandar. We also can change `assumeDatePartitioning` to 
`!assumeDatePartitioning` at `FSUtils#getAllPartitionPaths` to fix this issue, 
WDYT?
   
   ```
   public static List<String> getAllPartitionPaths(FileSystem fs, String 
basePathStr, boolean assumeDatePartitioning)
       throws IOException {
     if (assumeDatePartitioning) {
       return getAllPartitionFoldersThreeLevelsDown(fs, basePathStr);
     } else {
       return getAllFoldersWithPartitionMetaFile(fs, basePathStr);
     }
   }
   ```

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


With regards,
Apache Git Services

Reply via email to