File tree Expand file tree Collapse file tree
datafusion/core/tests/fuzz_cases/aggregation_fuzzer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515// specific language governing permissions and limitations
1616// under the License.
1717
18- use std:: { cmp, sync:: Arc , usize } ;
18+ use std:: { cmp, sync:: Arc } ;
1919
2020use datafusion:: {
2121 datasource:: MemTable ,
@@ -210,9 +210,9 @@ impl GeneratedSessionContextBuilder {
210210/// The generated params for [`SessionContext`]
211211#[ derive( Debug , Clone , Copy ) ]
212212pub struct SessionContextParams {
213- batch_size : usize ,
214- target_partitions : usize ,
215- skip_partial_params : SkipPartialParams ,
213+ pub batch_size : usize ,
214+ pub target_partitions : usize ,
215+ pub skip_partial_params : SkipPartialParams ,
216216}
217217
218218/// Partial skipping parameters
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ impl DatasetGenerator {
108108 let sort_exprs = sort_keys
109109 . iter ( )
110110 . map ( |key| {
111- let col_expr = col ( & key, & schema) ?;
111+ let col_expr = col ( key, schema) ?;
112112 Ok ( PhysicalSortExpr :: new_default ( col_expr) )
113113 } )
114114 . collect :: < Result < Vec < _ > > > ( ) ?;
Original file line number Diff line number Diff line change @@ -253,8 +253,8 @@ impl AggregationFuzzTestTask {
253253 e. row_idx,
254254 e. lhs_row,
255255 e. rhs_row,
256- pretty_format_batches( & task_result) . unwrap( ) ,
257- pretty_format_batches( & expected_result) . unwrap( ) ,
256+ pretty_format_batches( task_result) . unwrap( ) ,
257+ pretty_format_batches( expected_result) . unwrap( ) ,
258258 ) ;
259259
260260 // Then we just panic
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ workspace = true
2929arrow = { workspace = true }
3030datafusion-common = { workspace = true , default-features = true }
3131env_logger = { workspace = true }
32- rand = { workspace = true }
3332paste = " 1.0.15"
33+ rand = { workspace = true }
You can’t perform that action at this time.
0 commit comments