Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rust/cubesql/cubesql/src/compile/rewrite/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,12 @@ crate::plan_to_language! {

// trace_macros!(false);

/// Positions of `WrappedSelect` children, for the rules that reach into the node instead of
/// matching it with a pattern. Keep in sync with the `WrappedSelect` definition above.
pub const WRAPPED_SELECT_SELECT_TYPE: usize = 0;
pub const WRAPPED_SELECT_FROM: usize = 6;
pub const WRAPPED_SELECT_JOINS: usize = 7;

#[macro_export]
macro_rules! var_iter {
($eclass:expr, $field_variant:ident) => {{
Expand Down
Loading
Loading