WZhuo commented on code in PR #801:
URL: https://github.com/apache/iceberg-cpp/pull/801#discussion_r3689149302
##########
src/iceberg/inspect/snapshots_table.h:
##########
@@ -40,6 +40,13 @@ class ICEBERG_EXPORT SnapshotsTable : public MetadataTable {
Kind kind() const noexcept override { return Kind::kSnapshots; }
+ /// \brief Scan all snapshots as rows.
+ ///
+ /// The snapshots table always returns every known snapshot, so the
+ /// snapshot_selection parameter is ignored.
+ Result<ArrowArray> Scan(
Review Comment:
Done. `SnapshotsTable` now explicitly overrides the zero-argument `Scan()`,
so callers using `SnapshotsTable::Make()` or
`MetadataTable::Make<SnapshotsTable>()` can call it directly.
--
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]