fallintoplace opened a new pull request, #1042:
URL: https://github.com/apache/arrow-go/pull/1042

   ## What changed
   
   Clear a configured Flight descriptor immediately after sending one IPC 
payload rather than after the entire record-batch write.
   
   ## Why
   
   One record write can emit multiple payloads, such as a schema and record 
batch. The previous cleanup happened after all of them, so every payload 
carried the descriptor despite `SetFlightDescriptor` documenting that it 
applies only to the next payload.
   
   The regression test captures every payload from one write and verifies that 
only the first contains the descriptor.
   
   ## Validation
   
   `go test ./arrow/flight`
   


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