RussellSpitzer commented on code in PR #5376:
URL: https://github.com/apache/iceberg/pull/5376#discussion_r1038490304
##########
core/src/test/java/org/apache/iceberg/TestMetadataTableScans.java:
##########
@@ -527,6 +527,63 @@ public void testDeleteFilesTableSelection() throws
IOException {
Assert.assertEquals(expected, scan.schema().asStruct());
}
+ @Test
+ public void testFilesTableReadableMetricsSchema() {
+
+ Table filesTable = new FilesTable(table.ops(), table);
+ Types.StructType actual =
filesTable.newScan().schema().select("readable_metrics").asStruct();
+
Review Comment:
Just to make this a little easier in the future you may just want to do
something like
firstAssigned = (schema.highestId - 15)
Then do
1001 = firstAssigned +1; ....
not sure this really helps that much though
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]