mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-25 09:20:40 +00:00
chore: update datafusion to 50 (#7076)
* chore: update datafusion to 50 Signed-off-by: luofucong <luofc@foxmail.com> * fix ci Signed-off-by: luofucong <luofc@foxmail.com> * fix: update datafusion_pg_catalog import * chore: fix toml format * chore: fix toml format again * fix nextest Signed-off-by: luofucong <luofc@foxmail.com> * fix sqlness Signed-off-by: luofucong <luofc@foxmail.com> * chore: switch datafusion-orc to upstream tag * fix sqlness Signed-off-by: luofucong <luofc@foxmail.com> * resolve PR comments Signed-off-by: luofucong <luofc@foxmail.com> --------- Signed-off-by: luofucong <luofc@foxmail.com> Co-authored-by: Ning Sun <sunning@greptime.com>
This commit is contained in:
@@ -979,11 +979,10 @@ pub fn to_create_flow_task_expr(
|
||||
query_ctx: &QueryContextRef,
|
||||
) -> Result<CreateFlowExpr> {
|
||||
// retrieve sink table name
|
||||
let sink_table_ref =
|
||||
object_name_to_table_reference(create_flow.sink_table_name.clone().into(), true)
|
||||
.with_context(|_| ConvertIdentifierSnafu {
|
||||
ident: create_flow.sink_table_name.to_string(),
|
||||
})?;
|
||||
let sink_table_ref = object_name_to_table_reference(create_flow.sink_table_name.clone(), true)
|
||||
.with_context(|_| ConvertIdentifierSnafu {
|
||||
ident: create_flow.sink_table_name.to_string(),
|
||||
})?;
|
||||
let catalog = sink_table_ref
|
||||
.catalog()
|
||||
.unwrap_or(query_ctx.current_catalog())
|
||||
@@ -1001,9 +1000,11 @@ pub fn to_create_flow_task_expr(
|
||||
|
||||
let source_table_names = extract_tables_from_query(&create_flow.query)
|
||||
.map(|name| {
|
||||
let reference = object_name_to_table_reference(name.clone().into(), true)
|
||||
.with_context(|_| ConvertIdentifierSnafu {
|
||||
ident: name.to_string(),
|
||||
let reference =
|
||||
object_name_to_table_reference(name.clone(), true).with_context(|_| {
|
||||
ConvertIdentifierSnafu {
|
||||
ident: name.to_string(),
|
||||
}
|
||||
})?;
|
||||
let catalog = reference
|
||||
.catalog()
|
||||
|
||||
Reference in New Issue
Block a user