From c02ac36ce8881e18796f53ecdfbddd37480d586d Mon Sep 17 00:00:00 2001 From: JeremyHi Date: Mon, 28 Aug 2023 19:50:33 +0800 Subject: [PATCH] feat: avoid confusion in desc table (#2272) feat: Field to Column to aviod confusion in DESC TABLE --- src/query/src/sql.rs | 2 +- tests-integration/src/tests/instance_test.rs | 50 +++---- .../common/alter/alter_table.result | 42 +++--- .../alter/alter_table_first_after.result | 140 +++++++++--------- .../common/alter/rename_table.result | 24 +-- .../standalone/common/create/create.result | 36 ++--- .../common/describe/describe_table.result | 8 +- .../standalone/common/select/dummy.result | 12 +- .../standalone/create/recover_created.result | 10 +- 9 files changed, 162 insertions(+), 162 deletions(-) diff --git a/src/query/src/sql.rs b/src/query/src/sql.rs index 6f5fafc632c2..9d8cd8946d7e 100644 --- a/src/query/src/sql.rs +++ b/src/query/src/sql.rs @@ -47,7 +47,7 @@ use crate::error::{self, Result}; const SCHEMAS_COLUMN: &str = "Schemas"; const TABLES_COLUMN: &str = "Tables"; -const COLUMN_NAME_COLUMN: &str = "Field"; +const COLUMN_NAME_COLUMN: &str = "Column"; const COLUMN_TYPE_COLUMN: &str = "Type"; const COLUMN_KEY_COLUMN: &str = "Key"; const COLUMN_NULLABLE_COLUMN: &str = "Null"; diff --git a/tests-integration/src/tests/instance_test.rs b/tests-integration/src/tests/instance_test.rs index ace4b9afed13..a6ebb7dfcd6d 100644 --- a/tests-integration/src/tests/instance_test.rs +++ b/tests-integration/src/tests/instance_test.rs @@ -551,7 +551,7 @@ async fn test_execute_query_external_table_parquet(instance: Arc