Box the SelectQuery in ProjectedSelect.
This commit is contained in:
parent
5979fa5844
commit
41f1ff2393
1 changed files with 4 additions and 4 deletions
|
@ -233,7 +233,7 @@ impl ToConstraint for ColumnConstraint {
|
|||
pub enum ProjectedSelect {
|
||||
Constant(ConstantProjector),
|
||||
Query {
|
||||
query: SelectQuery,
|
||||
query: Box<SelectQuery>,
|
||||
projector: Box<dyn Projector>,
|
||||
},
|
||||
}
|
||||
|
@ -499,16 +499,16 @@ pub fn query_to_select(schema: &Schema, query: AlgebraicQuery) -> Result<Project
|
|||
query.order,
|
||||
query.limit,
|
||||
);
|
||||
re_project(inner, sql_projection) // outer
|
||||
Box::new(re_project(inner, sql_projection)) // outer
|
||||
}
|
||||
None => cc_to_select_query(
|
||||
None => Box::new(cc_to_select_query(
|
||||
sql_projection,
|
||||
query.cc,
|
||||
distinct,
|
||||
group_by_cols,
|
||||
query.order,
|
||||
query.limit,
|
||||
),
|
||||
)),
|
||||
},
|
||||
projector: datalog_projector,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue