fresh-borzoni opened a new issue, #388:
URL: https://github.com/apache/fluss-rust/issues/388

   ### 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 ROW (nested struct) columns. 
   A nested Row is just a recursively-embedded CompactedRow, the same format as 
a top-level row, length-prefixed. This means the existing 
CompactedRowWriter/CompactedRowReader logic is reused recursively, making this 
simpler than it sounds.
   
   The Datum enum needs a Row variant, InternalRow needs get_row(). Look at 
Java's CompactedRowWriter.java (lines 339-346 atm) and CompactedRowReader.java 
(lines 370-378 atm) for how nested rows are written and read - it's 
serialize-to-bytes then write_bytes, same as strings. The value writer, field 
getter, and key encoder need the same additions as the other two types.
   
   Tests should cover simple nested rows, deeply nested rows (Row inside Row), 
rows with nullable fields, and once all three compex data types land, 
combination tests like a Row containing Array and Map fields. May also be done 
as the separate issue.
   
   Java reference: CompactedRowWriter.java , CompactedRowReader.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]

Reply via email to