MCPcopy Create free account
hub / github.com/apache/datafusion / get_test_data

Function get_test_data

datafusion/expr/src/window_state.rs:690–700  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

688 use arrow::array::Float64Array;
689
690 fn get_test_data() -> (Vec<ArrayRef>, Vec<SortOptions>) {
691 let range_columns: Vec<ArrayRef> = vec![Arc::new(Float64Array::from(vec![
692 5.0, 7.0, 8.0, 8.0, 9., 10., 10., 10., 11.,
693 ]))];
694 let sort_options = vec![SortOptions {
695 descending: false,
696 nulls_first: false,
697 }];
698
699 (range_columns, sort_options)
700 }
701
702 fn assert_group_ranges(
703 window_frame: &Arc<WindowFrame>,

Callers 2

assert_group_rangesFunction · 0.70
assert_frame_rangesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…