vinishjail97 commented on PR #772:
URL: https://github.com/apache/incubator-xtable/pull/772#issuecomment-3672879120

   In Hudi 1.x, the partition paths are coming in as empty causing the failures 
as compared to 0.x. 
   ```
     protected List<PartitionPath> listPartitionPaths(List<String> 
relativePartitionPaths) {
       List<String> matchedPartitionPaths;
       try {
         if (isPartitionedTable()) {
           if (queryType == HoodieTableQueryType.INCREMENTAL && 
incrementalQueryStartTime.isPresent() && !isBeforeTimelineStarts()) {
             HoodieTimeline timelineToQuery = findInstantsInRange();
             matchedPartitionPaths = 
TimelineUtils.getWrittenPartitions(timelineToQuery);
           } else {
             matchedPartitionPaths = 
tableMetadata.getPartitionPathWithPathPrefixes(relativePartitionPaths);
           }
         } else {
           matchedPartitionPaths = 
Collections.singletonList(StringUtils.EMPTY_STRING);
         }
       } catch (IOException e) {
         throw new HoodieIOException("Error fetching partition paths", e);
       }
   ```
   
   
   
   
https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java#L346
 


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