Skip to content

Commit

Permalink
Obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jussisaurio committed Nov 27, 2024
1 parent da811dc commit 84742b8
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions core/translate/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,7 @@ pub enum IterationDirection {
}

/**
An Operator is a Node in the query plan.
Operators form a tree structure, with each having zero or more children.
For example, a query like `SELECT t1.foo FROM t1 ORDER BY t1.foo LIMIT 1` would have the following structure:
Limit
Order
Project
Scan
Operators also have a unique ID, which is used to identify them in the query plan and attach metadata.
They also have a step counter, which is used to track the current step in the operator's execution.
TODO: perhaps 'step' shouldn't be in this struct, since it's an execution time concept, not a plan time concept.
A SourceOperator is a Node in the query plan that reads data from a table.
*/
#[derive(Clone, Debug)]
pub enum SourceOperator {
Expand Down

0 comments on commit 84742b8

Please sign in to comment.