scovich commented on PR #7865:
URL: https://github.com/apache/arrow-rs/pull/7865#issuecomment-3037233062

   Hmm, when trying to rebase on top of 
https://github.com/apache/arrow-rs/pull/7843, I'm getting compilation failures 
such as:
   ```
   error[E0509]: cannot move out of type `builder::ListBuilder<'_>`, which 
implements the `Drop` trait
      --> parquet-variant/src/builder.rs:697:43
       |
   697 |         parent_buffer.append_offset_array(self.offsets, 
Some(data_size), offset_size);
       |                                           ^^^^^^^^^^^^
       |                                           |
       |                                           cannot move out of here
       |                                           move occurs because 
`self.offsets` has type `std::vec::Vec<usize>`, which does not implement the 
`Copy` trait
   ```
   That's not such a nice side effect of the empty `impl Drop`... but I guess 
easy enough to solve with `std::mem::take`.


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