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

Method with_ordering

datafusion/core/tests/physical_optimizer/test_utils.rs:881–883  ·  view source on GitHub ↗

Create a TestScan with a single output ordering

(schema: SchemaRef, ordering: LexOrdering)

Source from the content-addressed store, hash-verified

879
880 /// Create a TestScan with a single output ordering
881 pub fn with_ordering(schema: SchemaRef, ordering: LexOrdering) -> Self {
882 Self::new(schema, vec![ordering])
883 }
884
885 /// Set whether `try_pushdown_sort` returns `Exact` (true) or `Inexact` (false).
886 pub fn with_exact_pushdown(mut self, exact: bool) -> Self {

Callers 2

list_files_for_scanMethod · 0.45
create_fileFunction · 0.45

Calls 1

newFunction · 0.85

Tested by

no test coverage detected