From f7eedb5daa02533191a393d41bfd3e8828d2cae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=9C=88?= <1759519137@qq.com> Date: Fri, 9 Oct 2026 17:43:13 +0800 Subject: [PATCH] test: access ColumnSchema data_type field in alter table tests Same fix as the previous commit: data_type is a public field on ColumnSchema, not a method. Signed-off-by: fengyue-xve <1759519137@qq.com> --- src/common/meta/src/ddl/tests/alter_table.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/meta/src/ddl/tests/alter_table.rs b/src/common/meta/src/ddl/tests/alter_table.rs index 48503c8bbbb..09f78c61b30 100644 --- a/src/common/meta/src/ddl/tests/alter_table.rs +++ b/src/common/meta/src/ddl/tests/alter_table.rs @@ -1568,7 +1568,7 @@ async fn test_widen_ts_unit_rejects_incompatible_partition_bounds_before_alterin .schema .column_schema_by_name("ts") .unwrap() - .data_type(), + .data_type, &ConcreteDataType::timestamp_millisecond_datatype() ); let (physical_table_id, physical_table_route) = ddl_context @@ -1647,7 +1647,7 @@ async fn test_widen_ts_unit_with_compatible_partition_bounds_completes() { .schema .column_schema_by_name("ts") .unwrap() - .data_type(), + .data_type, &ConcreteDataType::timestamp_nanosecond_datatype() ); }