gty404 commented on code in PR #112: URL: https://github.com/apache/iceberg-cpp/pull/112#discussion_r2188793310
########## src/iceberg/table.cc: ########## @@ -107,4 +108,8 @@ const std::vector<SnapshotLogEntry>& Table::history() const { const std::shared_ptr<FileIO>& Table::io() const { return io_; } +std::unique_ptr<TableScanBuilder> Table::NewScan() const { + return std::make_unique<TableScanBuilder>(metadata_, io_); Review Comment: If I pass "Table" to the "TableScanBuilder," I cannot pass it further to "DataTableScan," as "Table" can only be passed by reference to the "TableScanBuilder." -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org