0700449e8b
[fix](schema change) fix delete predicate incorrect comparisons result with empty strings during schema change ( #41064 ) ( #42427 )
...
```
insert into t1 (k1, k2, v1) value(1, '', 2);
delete form t1 where k1 = 1 and k2 = '';
alter table modify column v1 string
select * from t1 // expect 0 rows in return, but get 1 row.
```
2024-10-25 01:05:55 +08:00
3c535e80dd
[fix](compatibility) type toSql should return lowercase string ( #38012 ) ( #38517 )
...
pick from master #38012
revert #25951
2024-08-09 11:35:42 +08:00
46c06b3d97
[enhancement](regression-test) sync unique case to 2.1 ( #37272 )
...
Co-authored-by: Yongqiang YANG <98214048+dataroaring@users.noreply.github.com >
2024-07-16 16:59:33 +08:00
6214d6421f
[Fix](planner) fix bug of char(255) toSql ( #37340 ) ( #37671 )
...
cherry-pick #37340 from master
2024-07-12 10:33:24 +08:00
ef59af8df0
[branch-2.1] Picks "[fix](regression) Fix p0 case test_modify_reorder_column #37256 " ( #37332 )
...
## Proposed changes
picks https://github.com/apache/doris/pull/37256
2024-07-05 22:20:14 +08:00
5de6aa74c0
[branch-2.1] Picks "[opt](autoinc) Forbid some schema change when the table has auto-increment column #37186 " ( #37331 )
...
## Proposed changes
picks https://github.com/apache/doris/pull/37186
2024-07-05 21:59:30 +08:00
69aebc2d25
[branch-2.1] Picks "[Fix](schema change) Fix can't do reorder column schema change for MOW table and duplicate key table #37067 " ( #37226 )
...
## Proposed changes
picks https://github.com/apache/doris/pull/37067
2024-07-03 22:42:51 +08:00
7c808fcecf
[bugfix] Fix the case is unstable because Table[tbl_scalar_types_dup]'s state(ROLLUP) is not NORMAL ( #35460 )
2024-05-28 13:12:27 +08:00
d71e9d34fe
[Bugfix] Fix mv column type is not changed when do schema change ( #34598 )
2024-05-27 15:28:12 +08:00
97bc367611
[enhancement](regression-test) modify a key type from BIGINT/LARGEINT to other type ( #34436 )
...
Co-authored-by: cjj2010 <2449402815@qq.com >
2024-05-10 14:48:52 +08:00
36e80af327
[fix](schema change) fix the defineName field is not the same when copying column ( #34201 )
...
* [fix](schema change) fix the defineName field is not the same when copying column
* fix
2024-04-27 11:59:07 +08:00
48d7585d85
[enhancement](test) unique model by modify a value type from INT or BIGINT to other type ( #32553 )
2024-03-21 14:07:50 +08:00
043113c89e
[enhancement](test) unique model by modify a key type from SMALLINT to other type ( #32033 )
2024-03-21 14:07:50 +08:00
32f7f0b50c
[enhancement](test)unique model by modify a value type from SMALLINT to other type ( #32348 )
...
* [enhancement](test)unique model by modify a key type from SMALLINT to other type
* [enhancement](test)unique model by modify a value type from SMALLINT to other type
2024-03-21 14:07:23 +08:00
9767861ee9
[enhancement](test) opt the unique model by modify value ( #32043 )
2024-03-15 18:05:35 +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
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
57a8c75ddc
[regression test](schema change) add case for column type change ( #30472 )
2024-01-30 15:30:39 +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
afaefa3a9e
[regression](decimalv2) add schema change test case for decimalv2 ( #29474 )
2024-01-03 21:02:10 +08:00
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
4300fdce43
[feature](merge-on-write) enable merge-on-write by default again ( #28105 )
...
fix #27188 , #28096
2023-12-14 19:35:52 +08:00
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
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
70bc8600a9
[fix](regression) fix regression framework bug: if real test result is negative, it will miss check test result ( #25734 )
2023-11-08 09:05:58 +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
5eb8fe3d6e
[improvement](type) modify the inner type display of the Array/Map/Struct type ( #24459 )
...
In the old code, when using desc command to view the table schema
It will display as follows
```
ARRAY<TINYINT(4)>
ARRAY<SMALLINT(6)>
ARRAY<INT(11)>
ARRAY<BIGINT(20)>
ARRAY<LARGEINT(40)>
```
However, for normal integer type displays, the width is not displayed
So, I changed it to the following
```
ARRAY<TINYINT>
ARRAY<SMALLINT>
ARRAY<INT>
ARRAY<BIGINT>
ARRAY<LARGEINT>
```
2023-09-20 17:03:03 +08:00
a02ee8e1d0
[test](regression) Reduce dependency of other database in test_alter_table_column ( #22547 )
2023-09-05 10:15:01 +08:00
cc53391c9a
Revert "[feature](merge-on-write) enable merge on write by default (#… ( #21041 )
2023-06-21 18:36:46 +08:00
c88ba85e10
[Bug](schema-change) fix varchar can not change to datev2 #19952
2023-05-23 18:18:55 +08:00
5167dc1251
[feature](merge-on-write) enable merge on write by default ( #19017 )
2023-05-11 11:10:48 +08:00
e562017801
[feature](table-metadata) support altering the property "light_schema_change" for the tables which created before 1.2 ( #17704 )
2023-04-11 11:09:43 +08:00
88c5e64c4a
[fix](nereids) fix bug of SelectMaterializedIndexWithAggregate rule ( #18265 )
...
1. create a project node to adjust the output column position when a mv is selected in olap scan node
2. pass SlotReference's column info when call Alias's toSlot() method
3. should compare plan's logical properties when compare two plans after rewrite
2023-04-03 22:32:43 +08:00
df0eca4003
[improvement] (schema change) Lightweight schema change of modify column with varchar length ( #17207 )
...
Signed-off-by: Yisong Han <yisong8686@gmail.com >
2023-03-25 22:38:19 +08:00
8ccc805cd0
[Fix](Lightweight schema Change) query error caused by array default type is unsupported ( #17331 )
...
We have supportted array type default [], but when using lightweight schema Change to add column array type, query failed as follows:
Fix "array default type is unsupported" error.
Fix the default value filling assignment digit problem.
2023-03-07 16:30:41 +08:00
2db4a981b3
[Feature](Materialized-View) forbiden rename column on materialized view ( #17030 )
...
forbiden rename column on materialized view
2023-02-24 21:28:31 +08:00
edead494cb
[Enhancement](storage) add a new hidden column __DORIS_VERSION_COL__ for unique key table ( #16509 )
2023-02-23 15:47:17 +08:00
4dbe30d37b
[regression](vectorized) delete vectorized config in regression tests ( #15126 )
2022-12-16 17:08:29 +08:00
9dd1d989e8
[test](decimalv3) add regression test cases for decimalv3 ( #14672 )
2022-12-01 15:18:40 +08:00
27d84eafc5
[feature](alter) support rename column for table with unique column id ( #13410 )
2022-10-21 08:45:34 +08:00
6746434770
[improvement](schema change) avoid using column ptr swap ( #13273 )
2022-10-14 15:19:08 +08:00
62c82bd575
[enhancement](test) Rewrite test_update_schema_change case ( #13191 )
2022-10-09 11:35:05 +08:00