Indian-boult commented on code in PR #1024:
URL: https://github.com/apache/incubator-xtable/pull/1024#discussion_r4659914265
##########
xtable-core/src/test/java/org/apache/xtable/kernel/ITDeltaKernelConversionSource.java:
##########
@@ -437,6 +438,75 @@ void testGetCommitsBacklogWithNoNewCommits() {
assertTrue(commitsBacklog.getCommitsToProcess().isEmpty());
}
+ @Test
+ void testNestedColumnStats() {
Review Comment:
Merged main in 2800b17 and simplified the test in f852b2e.
`testNestedColumnStats` now builds its expected stats the same way as
`getCurrentSnapshotColumnMappingStatsTest` and compares whole lists keyed by
record count. Both tests share `getConversionSource` and
`columnStatsByRecordCount`, `intColumnStat` became `columnStat` with a null
count, and `getStat` and `assertStat` are gone.
Running these, I found that the column mapping stats tests from #1014 fail
on main now that #1012 is in, because they expect a `totalSize` of 0 and it is
now null. #1029 fixes that on main. The helper here already leaves `totalSize`
unset, and since #1029 touches the same helper, whichever merges second needs a
small conflict fix, which I will push.
--
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]