Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jul 19, 2023
2 parents 78dd7fc + aaededa commit 59ad63b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/query/sql/src/planner/semantic/type_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,7 @@ impl<'a> TypeChecker<'a> {
) -> Option<Result<Box<(ScalarExpr, DataType)>>> {
let table_index = self.metadata.read().get_table_index(
column.database_name.as_deref(),
column.table_name.as_deref().unwrap(),
column.table_name.as_deref().unwrap_or_default(),
)?;

if !self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,12 @@ select get_ignore_case(obj, 'A') from t2
1

query IT
select id, obj:b from (select id, obj from t2) tt;
select id, obj:b from (select id, obj from t2) tt
----
1 {"c":2}

query IT
select id, obj:b from (select id, obj from t2)
----
1 {"c":2}

Expand Down

0 comments on commit 59ad63b

Please sign in to comment.