jding-xyz commented on code in PR #149:
URL: https://github.com/apache/arrow-swift/pull/149#discussion_r2992846132
##########
Sources/Arrow/ArrowArrayBuilder.swift:
##########
@@ -146,6 +146,10 @@ public class StructArrayBuilder:
ArrowArrayBuilder<StructBufferBuilder, NestedAr
try super.init(ArrowTypeStruct(ArrowType.ArrowStruct, fields: fields))
}
+ public override func appendAny(_ val: Any?) {
+ self.append(val as? [Any?])
+ }
Review Comment:
Added testStructArrayBuilderAppendAny and testListOfStructAppendAny
--
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]