willtemperley commented on code in PR #95:
URL: https://github.com/apache/arrow-swift/pull/95#discussion_r2428140183


##########
Arrow/Sources/Arrow/ArrowWriter.swift:
##########
@@ -138,18 +138,26 @@ public class ArrowWriter { // swiftlint:disable:this 
type_body_length
         var rbBlocks = [org_apache_arrow_flatbuf_Block]()
 
         for batch in batches {
+            addPadForAlignment(&writer)

Review Comment:
   Confirmed that calling  `addPadForAlignment(&writer)` after writing the 
schema fixed the alignment problem. Fixed in second commit.



-- 
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