mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-22 11:52:33 +00:00
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:
@@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user