CREATE TABLE t_downgrade_compatibility( ts TIMESTAMP TIME INDEX, host STRING PRIMARY KEY, val INT ); INSERT INTO t_downgrade_compatibility VALUES ('2024-02-09 00:00:00+0000', 'host_a', 1), ('2024-02-09 00:01:00+0000', 'host_b', 2); ADMIN FLUSH_TABLE('t_downgrade_compatibility'); CREATE TABLE t_preserve_sequence_downgrade( ts TIMESTAMP TIME INDEX, host STRING, val INT, PRIMARY KEY(host) ) ENGINE=mito WITH(append_mode='true', preserve_row_sequence='true'); INSERT INTO t_preserve_sequence_downgrade VALUES ('2024-02-09 00:00:00+0000', 'host_a', 1), ('2024-02-09 00:01:00+0000', 'host_b', 2); ADMIN FLUSH_TABLE('t_preserve_sequence_downgrade'); INSERT INTO t_preserve_sequence_downgrade VALUES ('2024-02-09 00:02:00+0000', 'host_a', 3), ('2024-02-09 00:03:00+0000', 'host_c', 4); ADMIN FLUSH_TABLE('t_preserve_sequence_downgrade'); ADMIN COMPACT_TABLE('t_preserve_sequence_downgrade'); CREATE TABLE t_sst_float_field_encoding_downgrade( ts TIMESTAMP TIME INDEX, host STRING PRIMARY KEY, f FLOAT, d DOUBLE ) ENGINE=mito WITH('experimental_sst_float_field_encoding'='byte_stream_split'); INSERT INTO t_sst_float_field_encoding_downgrade VALUES ('2024-02-10 00:00:00+0000', 'host_a', 1.25, 10.5), ('2024-02-10 00:01:00+0000', 'host_b', -2.5, 20.25), ('2024-02-10 00:02:00+0000', 'host_c', NULL, NULL); ADMIN FLUSH_TABLE('t_sst_float_field_encoding_downgrade'); CREATE TABLE t_fulltext_bloom_v2_downgrade ( ts TIMESTAMP TIME INDEX, msg STRING FULLTEXT INDEX WITH(analyzer = 'English', backend = 'bloom', case_sensitive = 'false') ); INSERT INTO t_fulltext_bloom_v2_downgrade VALUES (1, 'hello_world'), (2, '错误error日志'); ADMIN FLUSH_TABLE('t_fulltext_bloom_v2_downgrade'); CREATE TABLE t_column_encoding_downgrade ( ts TIMESTAMP TIME INDEX, span_id STRING COMPRESSION WITH (encoding = 'plain', page_size = '64KiB'), ts_end TIMESTAMP(9) COMPRESSION WITH (encoding = 'delta_binary_packed') ); INSERT INTO t_column_encoding_downgrade VALUES (1, 'a1', 1000), (2, 'a2', 2000), (3, NULL, NULL); ADMIN FLUSH_TABLE('t_column_encoding_downgrade'); -- Row groups of 10 rows and index segments of 4 rows: the segment covering rows [8, 12) -- crosses the first row group boundary. CREATE TABLE t_inverted_segment_downgrade ( ts TIMESTAMP TIME INDEX, label STRING INVERTED INDEX ) WITH ( 'append_mode' = 'true', 'max_row_group_row_count' = '10', 'index.inverted_index.segment_row_count' = '4' ); INSERT INTO t_inverted_segment_downgrade VALUES (0, 'miss'), (1, 'miss'), (2, 'miss'), (3, 'miss'), (4, 'miss'), (5, 'miss'), (6, 'miss'), (7, 'miss'), (8, 'hit'), (9, 'hit'), (10, 'hit'), (11, 'hit'), (12, 'miss'), (13, 'miss'), (14, 'miss'), (15, 'miss'), (16, 'miss'), (17, 'miss'), (18, 'miss'), (19, 'miss'); ADMIN FLUSH_TABLE('t_inverted_segment_downgrade');