alamb commented on issue #1035: URL: https://github.com/apache/datafusion-comet/issues/1035#issuecomment-2433710742
> I believe that Comet scan is developed long before the mutable API comes out. I wonder if there might be be some way to use `Arc` / ref counting to verify at runtime that there are no remaining references to the underlying CometBuffer before it is reused 🤔 Kind of like the [`try_unary_mut`](https://docs.rs/arrow/latest/arrow/array/struct.PrimitiveArray.html#method.try_unary_mut) style kernel -- that way it would at least be easier to track down places where the assumptions are invalidated (that there is no more sharing) -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org