-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ct: triage all currently remaining TODO(ct)s in adapter #29917
Conversation
The numbers correspond to which [milestone] that they need to be fixed by. [milestone]: https://github.com/MaterializeInc/database-issues/issues/8427
@@ -42,7 +42,6 @@ use crate::optimize::{self, Optimize, OptimizerCatalog}; | |||
use crate::session::Session; | |||
use crate::util::ResultExt; | |||
|
|||
// TODO(ct): Big oof. Dedup a bunch of this with MVs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After factoring bits of it out to share internally, feels like there is less to do here.
@@ -1414,7 +1414,6 @@ pub struct CreateContinualTaskStatement<T: AstInfo> { | |||
pub enum ContinualTaskStmt<T: AstInfo> { | |||
Delete(DeleteStatement<T>), | |||
Insert(InsertStatement<T>), | |||
// TODO(ct): Update/upsert? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't feel actionable IMO. I mostly left this in here in first place without thinking because when I type an enum with Delete and Insert variants, I naturally consider Update/Upsert. Notably, none of the initial use cases in my doc seemed to need them
@@ -735,10 +735,8 @@ pub struct CreateContinualTaskPlan { | |||
// `continual_task.expr`. None on restart. | |||
pub placeholder_id: Option<mz_expr::LocalId>, | |||
pub desc: RelationDesc, | |||
// TODO(ct): Multiple inputs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate of the one in parser.rs
pub input_id: GlobalId, | ||
pub continual_task: MaterializedView, | ||
// TODO(ct): replace, drop_ids, if_not_exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate of the one in parser.rs
TFTR! |
The numbers correspond to which milestone that they need to be fixed by.
Touches MaterializeInc/database-issues#8427
Motivation
Tips for reviewer
The priority here is finding if there are any M1 items left, would love a second set of eyes on this in particular. Some of the M2 vs M3 decisions feel like they could go either way, definitely open to feedback.
Checklist
$T ⇔ Proto$T
mapping (possibly in a backwards-incompatible way), then it is tagged with aT-proto
label.