alamb opened a new pull request, #7128:
URL: https://github.com/apache/arrow-rs/pull/7128

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   - Related to https://github.com/apache/arrow-rs/issues/7084
   
   # Rationale for this change
    
   As we found out 
[here](https://github.com/apache/arrow-rs/issues/7083#issuecomment-2653571083)  
`rand` appears in some public APIs and thus it should be available to use with 
just arrow
   
   For example, in DataFusion we have
   
   
https://github.com/apache/datafusion/blob/dfc4ba31ed26fbc84eebb0c39b96ebd8f2c11267/datafusion/functions-aggregate/benches/array_agg.rs#L51-L58
   
   (namely randomly generating a LIstArray using the `create_primitive_array` 
function from bench_utils)
   
   Being able to have datafusion's benchmark use the same rand / distribution 
would let us use both versions
   
   It may just be better to avoid using the arrow bench_utils at all.
   
   # What changes are included in this PR?
   
   Propose publically re-exporting `rand` and using that re-export in the 
public APIs
   
   # Are there any user-facing changes?
   New public export when `test_utils` feature is enabled


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