alamb commented on issue #15498:
URL: https://github.com/apache/datafusion/issues/15498#issuecomment-2767680544

   > @alamb would you mind giving an example on Arc ?
   
   Here is one example
   
   
https://github.com/apache/datafusion/blob/923bfb7fc7cf1718522f572b74f3756d02652933/datafusion/core/tests/fuzz_cases/aggregation_fuzzer/fuzzer.rs#L76-L75
   
   Basically to make an `Arc<str>` from a string you do:
   
   ```rust
   let s = String::from("foo");
   let arc_s = Arc::new(s.as_str())
   ```
   


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

Reply via email to