Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
yezizp2012 committed Oct 13, 2023
1 parent ee98538 commit 528ca2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/handler/describe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ mod tests {
"v3".into() => "integer".into(),
"v4".into() => "integer".into(),
"primary key".into() => "v3".into(),
"distribution key".into() => "v3".into(),
"idx1".into() => "index(v1 DESC, v2 ASC, v3 ASC) include(v4) distributed by(v1)".into(),
};

Expand Down
2 changes: 2 additions & 0 deletions src/frontend/src/handler/show.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ mod tests {
"country.city.zipcode".into() => "character varying".into(),
"rate".into() => "real".into(),
"country".into() => "test.Country".into(),
"_rw_kafka_timestamp".into() => "timestamp with time zone".into(),
"_row_id".into() => "serial".into(),
};

assert_eq!(columns, expected_columns);
Expand Down

0 comments on commit 528ca2c

Please sign in to comment.