fresh-borzoni opened a new issue, #386: URL: https://github.com/apache/fluss-rust/issues/386
### Search before asking - [x] I searched in the [issues](https://github.com/apache/fluss-rust/issues) and found nothing similar. ### Description Add end-to-end support for ARRAY columns in the Rust client. Arrays are stored as a BinaryArray binary structure: a count, null bitmap, fixed-size element slots, and a variable-length data section. We need to introduce the BinaryArray format that Map also depends on. The Datum enum in datum.rs needs an Array variant, and InternalRow in row/mod.rs needs a get_array() accessor. The BinaryArray writer is new code, look at Java's BinaryArray.java and BinaryArrayWriter.java for the exact binary layout. The compacted row writer/reader in row/compacted/ need write_array/read_array methods - these just length-prefix the BinaryArray bytes (same pattern as write_bytes). The InnerValueWriter in binary_writer.rs and InnerFieldGetter in field_getter.rs have TODOs marking where Array support goes. The key encoder in row/encode/compacted_key_encoder.rs should reject Array as a key type. Tests should cover round-trips for arrays of primitives, arrays with null elements, empty arrays, and Java-compatible byte verification. Java reference: BinaryArray.java, BinaryArrayWriter.java, ArraySerializer.java ### Willingness to contribute - [ ] I'm willing to submit a PR! -- 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]
