You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xtable.apache.org by "vinishjail97 (via GitHub)" <gi...@apache.org> on 2025/12/23 01:56:20 UTC
[I] Paimon Source and Hudi 1.1 for unpartitioned table data validation fails. [incubator-xtable]
vinishjail97 opened a new issue, #777:
URL: https://github.com/apache/incubator-xtable/issues/777
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/incubator-xtable/issues?q=is%3Aissue) and found no similar issues.
### Please describe the bug 🐞
```
Error: ITConversionController.testVariousOperations:266->checkDatasetEquivalence:955->checkDatasetEquivalence:1029->lambda$checkDatasetEquivalence$10:1036 Datasets have different row counts when reading from Spark. Source: PAIMON, Target: HUDI ==> expected: <100> but was: <0>
```
In Hudi 1.x, all the partition paths from MDT 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
### Are you willing to submit PR?
- [ ] I am willing to submit a PR!
- [ ] I am willing to submit a PR but need help getting started!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: commits-unsubscribe@xtable.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Paimon Source and Hudi 1.1 for unpartitioned table data validation fails. [incubator-xtable]
Posted by "vinishjail97 (via GitHub)" <gi...@apache.org>.
vinishjail97 commented on issue #777:
URL: https://github.com/apache/incubator-xtable/issues/777#issuecomment-3712284631
https://github.com/apache/hudi/pull/17788
Handling external file groups in hudi's MDT.
--
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: commits-unsubscribe@xtable.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Paimon Source and Hudi 1.1 for unpartitioned table data validation fails. [incubator-xtable]
Posted by "vinishjail97 (via GitHub)" <gi...@apache.org>.
vinishjail97 commented on issue #777:
URL: https://github.com/apache/incubator-xtable/issues/777#issuecomment-4784617745
https://github.com/apache/hudi/pull/17788 is merged.
--
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: commits-unsubscribe@xtable.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Paimon Source and Hudi 1.1 for unpartitioned table data validation fails. [incubator-xtable]
Posted by "vinishjail97 (via GitHub)" <gi...@apache.org>.
vinishjail97 closed issue #777: Paimon Source and Hudi 1.1 for unpartitioned table data validation fails.
URL: https://github.com/apache/incubator-xtable/issues/777
--
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: commits-unsubscribe@xtable.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org