Skip to content

Commit 2a97e6f

Browse files
authored
feat: support write (#10)
* add arrow_struct_to_iceberg_struct * refine writer interface * support fanout partition writer * support sort_position_delete_writer * support equality delta writer * support precompute partition writer * update value convert * fix some wrong in writer * implement Display for NamespaceIdent * expose _serde::DataFile * fix FieldSummary generated from Manifest * add delete file support for transaction * fix record_batch_partition_spliter * fix day transform * fix RawLiteralEnum::Record * fix nullable field of equality delete writer * support to delete empty row file * fix decimal parse for parquet statistics --------- Co-authored-by: ZENOTME <[email protected]>
1 parent aa3a909 commit 2a97e6f

28 files changed

+3229
-239
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ apache-avro = "0.17"
4242
array-init = "2"
4343
arrow-arith = { version = "53" }
4444
arrow-array = { version = "53" }
45+
arrow-buffer = { version = "53" }
4546
arrow-cast = { version = "53" }
4647
arrow-ord = { version = "53" }
4748
arrow-schema = { version = "53" }
4849
arrow-select = { version = "53" }
4950
arrow-string = { version = "53" }
51+
arrow-row = { version = "53" }
5052
async-stream = "0.3.5"
5153
async-trait = "0.1"
5254
async-std = "1.12"

crates/iceberg/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ apache-avro = { workspace = true }
4646
array-init = { workspace = true }
4747
arrow-arith = { workspace = true }
4848
arrow-array = { workspace = true }
49+
arrow-buffer = { workspace = true }
4950
arrow-cast = { workspace = true }
5051
arrow-ord = { workspace = true }
52+
arrow-row = { workspace = true }
5153
arrow-schema = { workspace = true }
5254
arrow-select = { workspace = true }
5355
arrow-string = { workspace = true }

crates/iceberg/src/arrow/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ pub use schema::*;
2222
mod reader;
2323
pub(crate) mod record_batch_projector;
2424
pub(crate) mod record_batch_transformer;
25-
25+
mod value;
2626
pub use reader::*;
27+
pub use value::*;
28+
mod record_batch_partition_spliter;
29+
pub(crate) use record_batch_partition_spliter::*;

0 commit comments

Comments
 (0)