Skip to content

Commit b7b5dd1

Browse files
wgtmacgty404HuaHuaY
authored
feat: extend table scan to support v2 deletes (#489)
Co-authored-by: Guotao Yu <[email protected]> Co-authored-by: Zehua Zou <[email protected]>
1 parent 3d36a9e commit b7b5dd1

File tree

7 files changed

+522
-231
lines changed

7 files changed

+522
-231
lines changed

example/demo_example.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "iceberg/arrow/arrow_file_io.h"
2323
#include "iceberg/avro/avro_register.h"
2424
#include "iceberg/catalog/memory/in_memory_catalog.h"
25+
#include "iceberg/manifest/manifest_entry.h"
2526
#include "iceberg/parquet/parquet_register.h"
2627
#include "iceberg/table.h"
2728
#include "iceberg/table_scan.h"

src/iceberg/table.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const std::shared_ptr<TableMetadata>& Table::metadata() const { return metadata_
141141
const std::shared_ptr<Catalog>& Table::catalog() const { return catalog_; }
142142

143143
Result<std::unique_ptr<TableScanBuilder>> Table::NewScan() const {
144-
return std::make_unique<TableScanBuilder>(metadata_, io_);
144+
return TableScanBuilder::Make(metadata_, io_);
145145
}
146146

147147
Result<std::shared_ptr<Transaction>> Table::NewTransaction() {

0 commit comments

Comments
 (0)