kou commented on code in PR #169:
URL: https://github.com/apache/arrow-go/pull/169#discussion_r1821692536


##########
arrow/cdata/exports.go:
##########
@@ -155,3 +190,229 @@ func exportStream(rdr array.RecordReader, out 
*CArrowArrayStream) {
        h := cgo.NewHandle(cRecordReader{rdr: rdr, err: nil})
        out.private_data = createHandle(h)
 }
+
+type cAsyncState struct {
+       ch        chan AsyncRecordBatchStream
+       queueSize uint64
+       ctx       context.Context
+}
+
+type taskState struct {
+       task CArrowAsyncTask
+       meta arrow.Metadata
+       err  error
+}
+
+//export asyncStreamOnSchema
+func asyncStreamOnSchema(self *CArrowAsyncDeviceStreamHandler, schema 
*CArrowSchema, addlMetadata *C.char) C.int {

Review Comment:
   Can we use `additionalMetadata` instead of `addlMetadata` for easy to 
understand?



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