You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/05/19 09:27:55 UTC

[GitHub] [arrow-rs] alamb commented on issue #4234: `FlightDataEncoder::build` accepts inconsistent schemas

alamb commented on issue #4234:
URL: https://github.com/apache/arrow-rs/issues/4234#issuecomment-1554295418

   Maybe there could be a policy set on the encoder that controls the behavior here:
   ```rust
   enum SchemaEnforcement {
     /// Error if a subsequent batch has a different schema (default?)
     Error,
     /// Transmit a new schema message if a subsequent batch has a different schema
     Adapt,
   }
   ```
   
   
     


-- 
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-unsubscribe@arrow.apache.org

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