mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-17 02:32:56 +00:00
refactor: rename flow task to flow (#3833)
* refactor: rename to `MIN_USER_FLOW_ID` * refactor: rename to `FLOW_ID_SEQ` * refactor: rename to `flow_id_sequence` * refactor: rename to `FlowMetadataManager` * refactor: rename flow_task.rs to flow.rs * refactor: rename to FlowInfoManager * refactor: rename to FlowName * refactor: rename to FlownodeFlow * refactor: rename to TableFlow * refactor: remove TASK * refactor: rename to __flow * refactor: rename to flow_id * refactor: rename to flow_name * refactor: update comments * refactor: rename to flow_metadata_manager * refactor: rename to flow_metadata_allocator * refactor: rename to FlowMetadataAllocator * refactor: rename task suffix * refactor: rename FlowTask to FlowInfo * refactor: rename FlowTaskScoped to FlowScoped * refactor: rename FlowTaskId to FlowId * chore: bump proto to b5412f7 * chore: apply suggestions from CR * chore: apply suggestions from CR * chore: apply suggestions from CR
This commit is contained in:
@@ -175,7 +175,7 @@ impl<'a> ParserContext<'a> {
|
||||
fn parse_create_flow(&mut self, or_replace: bool) -> Result<Statement> {
|
||||
let if_not_exists = self.parse_if_not_exist()?;
|
||||
|
||||
let task_name = self.intern_parse_table_name()?;
|
||||
let flow_name = self.intern_parse_table_name()?;
|
||||
|
||||
self.parser
|
||||
.expect_token(&Token::make_keyword(SINK))
|
||||
@@ -219,7 +219,7 @@ impl<'a> ParserContext<'a> {
|
||||
let query = Box::new(self.parser.parse_query().context(error::SyntaxSnafu)?);
|
||||
|
||||
Ok(Statement::CreateFlow(CreateFlow {
|
||||
flow_name: task_name,
|
||||
flow_name,
|
||||
sink_table_name: output_table_name,
|
||||
or_replace,
|
||||
if_not_exists,
|
||||
|
||||
Reference in New Issue
Block a user