stevenzwu commented on issue #9597: URL: https://github.com/apache/iceberg/issues/9597#issuecomment-1919599639
Regarding `StaticDataTask`, we can make this constructor package private. ``` private StaticDataTask( InputFile metadata, Schema tableSchema, Schema projectedSchema, StructLike[] rows) { ... } ``` The main question is how to serialize the `StructLike` row. We can use Java serialization to convert the row to `byte[]`. We would need base64 encoding to convert the byte array to a string before adding it to JSON array. Base64 will increase the serialized bytes by 33%. Not sure if we have better option here. -- 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