Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Unfinished skeleton for Aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbooker committed Feb 26, 2024
1 parent 04a41ca commit d7930bf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions eggstrain/src/execution/operators/aggregate.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
use super::{Operator, UnaryOperator};
use async_trait::async_trait;

/// TODO docs
pub(crate) struct Aggregate {
children: Vec<Arc<dyn ExecutionPlan>>,
}

/// TODO docs
impl Aggregate {
pub(crate) fn new() -> Self {
todo!();
}

fn aggregate_in_mem(&self, rb: RecordBatch) -> Result<RecordBatch> {
todo!();
}
}

/// TODO docs
impl Operator for Aggregate {
fn children(&self) -> Vec<Arc<dyn ExecutionPlan>> {
todo!();
}
}

/// TODO docs
#[async_trait]
impl UnaryOperator for Aggregte {
todo!();
}

0 comments on commit d7930bf

Please sign in to comment.