datafusion

Module physical_plan

Source
Expand description

re-export of datafusion_physical_plan crate

Modules§

  • Aggregates functionalities
  • Defines the ANALYZE operator
  • CoalesceBatchesExec combines small batches into larger batches.
  • Defines the merge plan for executing partitions in parallel and then merging the results into a single partition
  • Defines common code used in execution plans
  • Implementation of physical plan display. See crate::displayable for examples of how to format
  • EmptyRelation with produce_one_row=false execution plan
  • Defines the EXPLAIN operator
  • Execution plan for writing data to DataSinks
  • DataFusion Join implementations
  • Defines the LIMIT plan
  • Execution plan for reading in-memory batches of data
  • Metrics for recording information about execution
  • EmptyRelation produce_one_row=true execution plan
  • Defines the projection execution plan. A projection determines which columns or expressions are returned from a query. The SQL statement SELECT a, b, a+b FROM t1 is an example of a projection on table t1 where the expressions a, b, and a+b are the projection expressions. SELECT without FROM will only evaluate expressions.
  • Defines the recursive query plan
  • This file implements the RepartitionExec operator, which maps N input partitions to M output partitions based on a partitioning scheme, optionally maintaining the order of the input rows in the output.
  • Sort functionalities
  • Defines the spilling functions
  • Stream wrappers for physical operators
  • Generic plans for deferred execution: StreamingTableExec and PartitionStream
  • This module provides common traits for visiting or rewriting tree nodes easily.
  • The Union operator combines multiple inputs with the same schema
  • Define a plan for unnesting values in columns that contain a list type.
  • Values execution plan
  • Physical expressions for window functions
  • Defines the work table query plan

Macros§

  • The handle_state macro is designed to process the result of a state-changing operation. It operates on a StatefulStreamResult by matching its variants and executing corresponding actions. This macro is used to streamline code that deals with state transitions, reducing boilerplate and improving readability.
  • Macro wraps Err($ERR) to add backtrace feature

Structs§

  • Statistics for a column within a relation
  • A newtype wrapper to display T implementingDisplayAs using the Default mode
  • EmptyRecordBatchStream can be used to create a RecordBatchStream that will produce no results
  • Something that tracks a value of interest (metric) of a DataFusion ExecutionPlan execution.
  • Stores certain, often expensive to compute, plan properties used in query optimization.
  • Statistics for a relation Fields are optional and can be inexact because the sources sometimes provide approximate estimates for performance reasons and the transformations output are not always predictable.
  • Global TopK
  • A newtype wrapper to display T implementing DisplayAs using the Verbose mode

Enums§

Traits§

Functions§

Type Aliases§