zeroshade commented on PR #421:
URL: https://github.com/apache/arrow-go/pull/421#issuecomment-3005369987

   > I pushed another commit hiding the WithSchemalessOutput option and 
actually adding a NewRecordBatchWriter, which is the end goal: have a writer 
that emits only RecordBatch messages. Let me know if you have any other 
thoughts on that.
   
   I'll take a look in a bit and get back with my thoughts.
   
   > On the BigQuery side, the argument is that indeed we are only suppose to 
send RecordBatches, as receiving a schema trigger some logic to check if there 
is any change to the table schema, which is a mechanism that also exists when 
using the protobuf format. This mechanism is expensive and should be avoided 
when possible.
   
   Why is the schema verification expensive? Also, wouldn't you still need to 
run the same logic to check for changes to the table schema upon receiving the 
first RecordBatch? How does avoiding the Schema message allow you to avoid 
validating the schema?


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to