dongjoon-hyun commented on code in PR #150:
URL: https://github.com/apache/arrow-swift/pull/150#discussion_r2989659866


##########
Sources/Arrow/ArrowReader.swift:
##########
@@ -97,7 +97,7 @@ public class ArrowReader { // swiftlint:disable:this 
type_body_length
             return .failure(.invalid("Null buffer not found"))
         }
 
-        let nullLength = UInt(ceil(Double(node.length) / 8))
+        let nullLength = (UInt(node.length) + 7) / 8

Review Comment:
   It's because I didn't want to introduce a type change on `nullLength` 
variable.



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