Skip to content

Commit

Permalink
use unknown for name fallback
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Oct 30, 2024
1 parent 4d19ca8 commit c10a54b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/meta/src/controller/fragment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,10 @@ impl CatalogController {
Expr::col((table::Entity, table::Column::Name)),
Expr::if_null(
Expr::col((source::Entity, source::Column::Name)),
Expr::col((sink::Entity, sink::Column::Name)),
Expr::if_null(
Expr::col((sink::Entity, sink::Column::Name)),
Expr::val("<unknown>"),
),
),
),
"name",
Expand Down

0 comments on commit c10a54b

Please sign in to comment.