Skip to content

Commit a9d6dd3

Browse files
committed
refactor: change column name
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
1 parent fd62ac0 commit a9d6dd3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/query/sql/src/planner/binder/ddl/database.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl<'a> Binder {
7171
if *full {
7272
select_builder.with_column("catalog AS Catalog");
7373
}
74-
select_builder.with_column(format!("name AS database_in_{ctl}"));
74+
select_builder.with_column(format!("name AS databases_in_{ctl}"));
7575
select_builder.with_order_by("catalog");
7676
select_builder.with_order_by("name");
7777
match limit {

tests/logictest/suites/base/06_show/06_0000_show_databases

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ ss
2424
ss1
2525
ss2
2626

27-
statement query T
27+
statement query TT
2828
SHOW FULL DATABASES like 'ss%';
2929

3030
----
3131
default ss
3232
default ss1
3333
default ss2
3434

35-
statement query T
35+
statement query TT
3636
SHOW FULL DATABASES FROM default like 'ss%';
3737

3838
----

tests/suites/0_stateless/14_clickhouse_http_handler/14_0001_clickhouse_http.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
OK.
55
OK.
66
8.12.14
7-
database
7+
databases_in_default
88
String
99
db2
1010
tables_in_db2

0 commit comments

Comments
 (0)