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>
This commit is contained in:
风月
2026-10-09 17:43:13 +08:00
committed by fengyue-xve
parent f72af7b32b
commit f7eedb5daa
+2 -2
View File
@@ -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()
);
}