Commit Graph

81 Commits

Author SHA1 Message Date
5909237ab1 [Fix](nereids) Add semantic check that the hash bucket column must be a key column when creating table for aggregate and unique models (#31951) 2024-03-09 19:45:46 +08:00
1d9e9fc884 [regression test] Test the unique model by modify a value type from TINYINT to other type (#31682) 2024-03-07 16:16:05 +08:00
1434d3983b [enhancement](test) Test the unique model by modify a key type from TINYINT to other type (#31713) 2024-03-06 13:07:59 +08:00
5e684c23ba [regression test]Test the unique model by modify a key type from BOOLEAN to other type (#31540)
* Test the unique model by modify a value type from BOOLEAN to other type

* Test the unique model by modify a key type from BOOLEAN to other type

* Test the unique model by modify a key type from BOOLEAN to other type
2024-03-02 17:12:34 +08:00
cb0ab6886b Test the unique model by modify a value type from BOOLEAN to other type (#31589) 2024-03-01 04:25:43 +08:00
93cbc96141 [regression test]Opt Test UniqueModel Schema Key Change (#31262)
* Opt Test UniqueModel Schema Key Change

* Opt Test UniqueModel Schema key Change
2024-02-24 16:26:44 +08:00
3576304e3e [regression test]Test UniqueModel Schema Value Change (#31260)
* Test UniqueModel Schema Value Change

* Opt Test UniqueModel Schema value Change
2024-02-23 19:03:28 +08:00
8a496bf554 [regression test]Optimize testUniqueModelSchemaKeyChange (#31150) 2024-02-22 13:01:48 +08:00
c72f634c10 [enhancement](schema change) some types changes (#30919) 2024-02-16 10:12:24 +08:00
123a187c23 [regression test](schema change) add case for modify partition info (#30338) 2024-01-30 15:30:39 +08:00
57a8c75ddc [regression test](schema change) add case for column type change (#30472) 2024-01-30 15:30:39 +08:00
f0a35f6e2d [regression test](schema change) add some case for agg col (#30479) 2024-01-30 15:30:39 +08:00
49f879f8fd [regression test](framework) add waitFor action (#30289) 2024-01-25 13:24:52 +08:00
101b2593fc [regression test](schema change) add case for tinyint/smallint/int/bigint/float/double type in agg (#30193) 2024-01-25 13:24:09 +08:00
df504df475 [regression test](schema change) add case for partition (#30195) 2024-01-25 13:24:09 +08:00
06f8266ca2 [regression test](schema change) add boolean type check for agg (#30186) 2024-01-23 10:09:54 +08:00
afaefa3a9e [regression](decimalv2) add schema change test case for decimalv2 (#29474) 2024-01-03 21:02:10 +08:00
b8cdbf4ffe Fix](schema change) fix metadata inconsistency bug caused by enable light schema change (#28255) (#29060) 2023-12-30 00:02:01 +08:00
14c902b504 [fix](regression test) fix test_alter_colocate_table (#29009) 2023-12-28 15:09:21 +08:00
Pxl
118775f913 [Bug](schame-change) fix wrong result after reorder mor table (#29045)
* fix wrong result after reorder mor table

* update
2023-12-28 14:57:31 +08:00
5bf77c8f74 [Fix] (schema change) forbid adding time type column (#28751) 2023-12-21 10:27:50 +08:00
81643d78e7 [fix](regression) fix test_alter_colocate_table due to force_olap_table_replication_num=3 (#28575) 2023-12-20 09:28:44 +08:00
4300fdce43 [feature](merge-on-write) enable merge-on-write by default again (#28105)
fix #27188, #28096
2023-12-14 19:35:52 +08:00
dee89d2c4a [refactor](Nereids) let create table compatible with legacy planner (#28078) 2023-12-13 16:35:40 +08:00
7f9cecb623 [fix](fe) Key column varchar length change should't light schema change (#28235) 2023-12-12 21:08:38 +08:00
Pxl
027b06059a [Feature](materialized-view) support count(1) on materialized view (#28135)
support count(1) on materialized view
fix match failed like select k1, sum(k1) from t group by k1
2023-12-09 01:36:46 +08:00
8c79b86f5b Revert "[feature](merge-on-write) enable merge-on-write by default (#27188)" (#28096)
This reverts commit 00c8bab84de8154052f9d323800b436cd0ad36e5.
2023-12-07 11:31:36 +08:00
00c8bab84d [feature](merge-on-write) enable merge-on-write by default (#27188) 2023-12-06 21:06:58 +08:00
2b2c2dd772 [fix](sequence column) insert into should require sequence column in all scenario (#27780) 2023-11-30 23:27:58 +08:00
4232327a43 [fix](regression test) fix test_schema_change_cold_heat case (#27556) 2023-11-25 23:25:37 +08:00
80c75b6da4 [fix](schema change) fix bug of query failure after rename column (#26300) 2023-11-20 16:54:40 +08:00
fc47eb51f7 [regression test](schema change) add some schema change regression cases (#27112) 2023-11-18 00:08:53 +08:00
88d909b4dd [test](regression) Add more alter stmt regression case (#26988) 2023-11-14 23:58:15 +08:00
f831774121 [test](regression) Add more regression test for FE (#26384) 2023-11-06 11:10:37 +08:00
7a69bdd1cd [regression](fe) Add more regression test for FE (#25976) 2023-10-27 10:27:22 +08:00
d0eaf95977 [cases](regression-test) Add alter table properties and alter/rename view test (#25971) 2023-10-27 10:27:06 +08:00
Pxl
5e4ab7cd25 [Bug](materialized-view) add limit for drop column on mv (#24493)
add limit for drop column on mv
2023-09-19 14:32:14 +08:00
a02ee8e1d0 [test](regression) Reduce dependency of other database in test_alter_table_column (#22547) 2023-09-05 10:15:01 +08:00
360f43f8b4 [enhancement](regression) Add a case to check if light_schema_change=true when creating table (#18889) 2023-09-03 09:58:14 +08:00
f1c354e0cf [improvement](colocate table) forbit change colocate table's replica allocation (#23064) 2023-09-02 13:54:25 +08:00
650cc25ea4 [fix](light-schema-change) fix schema consistency check failed (#23283) 2023-08-28 16:40:30 +08:00
Pxl
4d44cea784 [Bug](materialized-view) check group expr at create mv (#21798)
check group expr at create mv
2023-07-14 15:39:38 +08:00
Pxl
77336bff44 [Bug](materialized-view) adjust limit for create materialized view on uniq/agg table (#21580)
adjust limit for create materialized view on uniq/agg table
2023-07-10 10:04:17 +08:00
5d2b69b06d [Enhancement](regression) let test case fail fast when job is cancelled (#20578) (#21103)
In doris regression-test/suites, a lot of test cases quit immediately only if "FINISHED", otherwise they will wait till timeout. For example:

while (max_try_secs--) {
        String res = getJobState(tbName1)
        if (res == "FINISHED") {
            sleep(3000)
            break
        } else {
            Thread.sleep(1000)
            if (max_try_secs < 1) {
                println "test timeout," + "state:" + res
                assertEquals("FINISHED", res)
            }
        }
   }
This PR added checks so that these test cases can quit immediately also if "CANCELLED", which is the only unchanging status other than "FINISHED".
2023-06-26 12:58:51 +08:00
Pxl
c2e96c7fa6 [Bug](schema-change) make test_dup_mv_schema_change more stable #20379
make test_dup_mv_schema_change more stable
2023-06-02 21:25:27 +08:00
01770ba68a [fix](regression-test) variable's scope returned by curl (#20347) 2023-06-01 23:38:39 +08:00
05b7c65509 [fix](regression-test) fix multi-thread problem of regression-test #20322 2023-06-01 18:57:17 +08:00
4a682a0a46 [fix][regression-test] set timeout of curl in regression test to avoid hanged when be crashed. (#20222)
Currently in regression-test, when a be crash, because curl does not set a timeout, suite-thread will get stuck.
To solve this, encapsulate the call to be into a function, set the timeout uniformly, and avoid getting stuck
2023-06-01 11:00:09 +08:00
Pxl
618961053f [Bug](materialized-view) forbid create mv/rollup on mow table (#20001)
forbid create mv/rollup on mow table
2023-05-25 15:30:12 +08:00
c88ba85e10 [Bug](schema-change) fix varchar can not change to datev2 #19952 2023-05-23 18:18:55 +08:00