mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-23 06:30:05 +00:00
Compare commits
8 Commits
feature/df
...
flow_p3_re
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f24cca83a1 | ||
|
|
533ae3378f | ||
|
|
843ef050d6 | ||
|
|
96b2871750 | ||
|
|
ea117e1b4c | ||
|
|
e8eb3f6756 | ||
|
|
cce40f6a48 | ||
|
|
874d756dba |
@@ -44,6 +44,7 @@ use crate::repr::{self, DiffRow, KeyValDiffRow, Row};
|
|||||||
use crate::utils::{ArrangeHandler, ArrangeReader, ArrangeWriter, Arrangement};
|
use crate::utils::{ArrangeHandler, ArrangeReader, ArrangeWriter, Arrangement};
|
||||||
|
|
||||||
mod map;
|
mod map;
|
||||||
|
mod reduce;
|
||||||
|
|
||||||
/// The Context for build a Operator with id of `GlobalId`
|
/// The Context for build a Operator with id of `GlobalId`
|
||||||
pub struct Context<'referred, 'df> {
|
pub struct Context<'referred, 'df> {
|
||||||
@@ -104,13 +105,10 @@ impl<'referred, 'df> Context<'referred, 'df> {
|
|||||||
Plan::Let { id, value, body } => self.eval_let(id, value, body),
|
Plan::Let { id, value, body } => self.eval_let(id, value, body),
|
||||||
Plan::Mfp { input, mfp } => self.render_mfp(input, mfp),
|
Plan::Mfp { input, mfp } => self.render_mfp(input, mfp),
|
||||||
Plan::Reduce {
|
Plan::Reduce {
|
||||||
input: _,
|
input,
|
||||||
key_val_plan: _,
|
key_val_plan,
|
||||||
reduce_plan: _,
|
reduce_plan,
|
||||||
} => NotImplementedSnafu {
|
} => self.render_reduce(input, key_val_plan, reduce_plan),
|
||||||
reason: "Reduce is still WIP".to_string(),
|
|
||||||
}
|
|
||||||
.fail(),
|
|
||||||
Plan::Join { .. } => NotImplementedSnafu {
|
Plan::Join { .. } => NotImplementedSnafu {
|
||||||
reason: "Join is still WIP".to_string(),
|
reason: "Join is still WIP".to_string(),
|
||||||
}
|
}
|
||||||
|
|||||||
1076
src/flow/src/compute/render/reduce.rs
Normal file
1076
src/flow/src/compute/render/reduce.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user