Skip to main content

Module extension_plan

Module extension_plan 

Source

ModulesΒ§

absent πŸ”’
empty_metric πŸ”’
fused_series πŸ”’
One node that runs a compiled native tree over raw series.
histogram_fold πŸ”’
instant_manipulate πŸ”’
normalize πŸ”’
planner πŸ”’
range_manipulate πŸ”’
raw_series_source πŸ”’
A region scan that answers raw series frames with explicit labels.
scalar_calculate πŸ”’
series_divide πŸ”’
series_execution πŸ”’
The in-process handover between two adjacent native PromQL operators.
series_repartition πŸ”’
Routes evaluated and raw series across DataFusion input partitions.
union_distinct_on πŸ”’

StructsΒ§

Absent
AbsentExec
AbsentStream
EmptyMetric
Empty source plan that generate record batch with two columns:
EmptyMetricExec
EmptyMetricStream
FusedSeries
The logical plan of one node that runs a compiled native tree.
FusedSeriesBinding
The statement grid and output naming that travel with a compiled tree.
FusedSeriesExec
The physical node that runs a compiled native tree over its input’s raw series.
FusedSeriesStream
The batches one execution of FusedSeriesExec yields.
HandedSeriesChunk
One chunk handed over in process, and what it is charged to.
HistogramFold
HistogramFold will fold the conventional (non-native) histogram (1) for later computing.
HistogramFoldExec
HistogramFoldStream
InstantManipulate
Manipulate the input record batch to make it suitable for Instant Operator.
InstantManipulateExec
InstantManipulateStream
PromExtensionPlanner
RangeManipulate
Time series manipulator for range function.
RangeManipulateExec
RangeManipulateStream
RawSeriesSource
The logical node: one table scan bound to one metric’s raw series.
RawSeriesSourceExec
The physical node: the region’s raw-series leaf, re-labelling each scan partition in place.
ScalarCalculate
ScalarCalculate is the custom logical plan to calculate scalar in PromQL, return NaN when have multiple time series.
SeriesCharge
What one handed chunk is charged to, released when the chunk is.
SeriesDivide
SeriesDivideExec
SeriesDivideStream
Assume the input stream is ordered on the tag columns.
SeriesNormalize
Normalizes a single-series input batch and optionally removes Prometheus stale markers.
SeriesNormalizeExec
SeriesNormalizeStream
SeriesRepartitionExec
The Repartition stage: one child’s partitions, redistributed by canonical label set.
UnionDistinctOn
A special kind of UNION(OR in PromQL) operator, for PromQL specific use case.
UnionDistinctOnExec
UnionDistinctOnStream

EnumsΒ§

FieldKind
The sample kind an output field column carries.
FusedOutputFormat
The output representation fixed when a fused plan is built.
HistogramFoldOperation
IdentityCompletion
Whether a series identity is complete on a single chain, or has to be merged across inputs.
InputLocality
SeriesChunk
One piece of one series, handed from one native operator to the next.
SeriesRouting
Selects the key used to route a series to an output partition.

ConstantsΒ§

METRIC_NUM_SERIES πŸ”’

TraitsΒ§

SeriesExecutionPlan
A native operator that can hand its output over in-process without encoding a frame.

FunctionsΒ§

build_special_time_expr
checked_series_stream
chunks with the sequence check the frame path runs, applied to each chunk as it arrives.
input_locality
is_prometheus_stale_sample πŸ”’
keys_survive_metadata_drop
Whether the storage key of a scan keeps telling its stored series apart once a name-dropping kernel has normalized their labels.
local_offset πŸ”’
Recovers the offset serialized only by an immediately underlying normalize node.
matching_operands_drop_key
Whether matching operands can be segmented as independent single-source computations and at least one fails to preserve the requested key.
nanoseconds_per_native_tick πŸ”’
prometheus_stale_sample_column πŸ”’
resolve_column_name
Convert index back to column name for deserialization
resolve_column_names
Batch process multiple column indices
serialize_column_index
Utilities for handling unfix logic in extension plans Convert column name to index for serialization
series_execution_plan
plan as a native series operator, when it is one.
timestamp_unit πŸ”’
tree_source_fields
Fields read by each distinct raw source in source-index order.

Type AliasesΒ§

Millisecond
SendableSeriesStream
One partition’s output as internal series, not as an encoded frame.