From 421deda51459bbed0df5259778540a32a4c8cd2a Mon Sep 17 00:00:00 2001 From: Runji Wang Date: Tue, 20 Feb 2024 14:22:24 +0800 Subject: [PATCH] revert: varchar -> boolean. there is a bug when query in extended mode, the format may be binary, but we always output in text. Signed-off-by: Runji Wang --- src/frontend/src/handler/show.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/handler/show.rs b/src/frontend/src/handler/show.rs index 92f082a61dcb6..226a219a11887 100644 --- a/src/frontend/src/handler/show.rs +++ b/src/frontend/src/handler/show.rs @@ -117,7 +117,7 @@ struct ShowObjectRow { pub struct ShowColumnRow { pub name: String, pub r#type: String, - pub is_hidden: Option, + pub is_hidden: Option, pub description: Option, } @@ -135,7 +135,7 @@ impl ShowColumnRow { ShowColumnRow { name: c.name, r#type: type_name, - is_hidden: Some(col.is_hidden), + is_hidden: Some(col.is_hidden.to_string()), description: c.description, } })