Skip to content

Commit

Permalink
fix information schema
Browse files Browse the repository at this point in the history
Signed-off-by: Ruihang Xia <[email protected]>
  • Loading branch information
waynexia committed Sep 13, 2023
1 parent f76aa27 commit b421480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/query/src/dist_plan/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,15 @@ impl TreeNodeVisitor for TableNameExtractor {
.downcast_ref::<DfTableProviderAdapter>()
{
if provider.table().table_type() == TableType::Base {
common_telemetry::info!("[DEBUG] is base table");
let info = provider.table().table_info();
self.table_name = Some(TableName::new(
info.catalog_name.clone(),
info.schema_name.clone(),
info.name.clone(),
));
return Ok(VisitRecursion::Stop);
}
return Ok(VisitRecursion::Stop);
}
}
match &scan.table_name {
Expand Down

0 comments on commit b421480

Please sign in to comment.