apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
6.29k stars 1.19k forks source link

Make AggregationFuzzer reproducible #12903

Open jayzhan211 opened 1 month ago

jayzhan211 commented 1 month ago

Is your feature request related to a problem or challenge?

The PR #12667 effectively generates tests to catch the bug. However, since it uses ThreadRng to generate data, the results are non-reproducible, making it difficult to pinpoint the root cause of the failure

Describe the solution you'd like

I want the test to generate data randomly each time, but also have the option to pass a seed, so that failing test cases can be made reproducible

Describe alternatives you've considered

No response

Additional context

No response

Rachelint commented 1 month ago

Yes, it is the one of the most important features should be supported for me, too. I am working on it.

Rachelint commented 1 month ago

take