From 970759fdf56eec0cba1f349f3bd7830f0d8b03be Mon Sep 17 00:00:00 2001 From: test Date: Sat, 30 Dec 2023 16:56:59 +0800 Subject: [PATCH] fix: change `EXTRA` field type to string --- src/catalog/src/information_schema/memory_table/tables.rs | 2 +- tests/cases/standalone/common/system/information_schema.result | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/catalog/src/information_schema/memory_table/tables.rs b/src/catalog/src/information_schema/memory_table/tables.rs index 2b73cc12a81d..30be1fbaa748 100644 --- a/src/catalog/src/information_schema/memory_table/tables.rs +++ b/src/catalog/src/information_schema/memory_table/tables.rs @@ -222,7 +222,7 @@ pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec) { datetime_column("CHECK_TIME"), string_column("CHECKSUM"), string_column("STATUS"), - bigint_column("EXTRA"), + string_column("EXTRA"), ], vec![], ), diff --git a/tests/cases/standalone/common/system/information_schema.result b/tests/cases/standalone/common/system/information_schema.result index df25d275295c..a97660ee5839 100644 --- a/tests/cases/standalone/common/system/information_schema.result +++ b/tests/cases/standalone/common/system/information_schema.result @@ -107,7 +107,7 @@ select * from information_schema.columns order by table_schema, table_name; | greptime | information_schema | events | last_altered | DateTime | FIELD | | No | DateTime | | | greptime | information_schema | files | logfile_group_name | String | FIELD | | No | String | | | greptime | information_schema | files | data_free | Int64 | FIELD | | No | Int64 | | -| greptime | information_schema | files | extra | Int64 | FIELD | | No | Int64 | | +| greptime | information_schema | files | extra | String | FIELD | | No | String | | | greptime | information_schema | files | status | String | FIELD | | No | String | | | greptime | information_schema | files | checksum | String | FIELD | | No | String | | | greptime | information_schema | files | check_time | DateTime | FIELD | | No | DateTime | |