Light-City commented on issue #37170:
URL: https://github.com/apache/arrow/issues/37170#issuecomment-1678535991

   > I guess `Project` will not always modify the data, though it will call an 
expression.
   > 
   > Another point is that `RecordBatch` seems tent to be immutable. Would the 
interface below be ok?
   > 
   > ```c++
   > Result<std::shared_ptr<RecordBatch>> SetSchema(...);
   > ```
   
   I agree, if RecordBatch is read-only from a design point of view, then it 
really needs to be designed as above,


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