Commit Graph

5866 Commits

Author SHA1 Message Date
e5000c21ef branch-2.1: [regression-test](fix) test_audit_log_behavior.groovy case bug #46588 (#46702)
Cherry-picked from #46588

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-10 10:46:43 +08:00
3fc14c5071 branch-2.1: [regression-test](fix) fix test_default_current_timestamp.groovy #46700 (#46729)
Cherry-picked from #46700

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-10 10:44:12 +08:00
5ba70abfd5 [case](mtmv) external pipeline set enable_job_schedule_second_for_tes… (#46723)
…t = true (#46325)

pick: https://github.com/apache/doris/pull/46325
2025-01-10 10:40:55 +08:00
0a64a1aff6 [Fix](test) Fix infinate loop in test_cumu_compaction_with_delete case (#46721) 2025-01-09 23:56:40 +08:00
e3c740df4b branch-2.1: [test](mtmv)Check whether the constants in SQL will hit mtmv #40442 (#46671)
Cherry-picked from #40442

Co-authored-by: zfr95 <zhangfurong@selectdb.com>
2025-01-09 22:19:55 +08:00
17811f7d29 branch-2.1: [regression-test](case) fix manager case bug #46659 (#46669)
Cherry-picked from #46659

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-09 22:19:17 +08:00
04b840713b branch-2.1: [fix](jdbc catalog) Use factory methods to return mapped types instead (#46698)
cherry-pick #46623
2025-01-09 18:12:03 +08:00
912e4ca010 branch-2.1: [fix](Nereids) fix fe folding constant of string functions and add more cases #45233 (#46523)
pick: #45233
Issue Number: #44666
Related PR: #40441

Problem Summary:
- select substring_index('哈哈哈AAA','A', 1); String.split function has
second parameter 'limit', which is default zero. When 'limit' is zero,
it means it would remove trailing empty strings split of '哈哈哈AAA', which
would be '哈哈哈' only. But what we expect is '哈哈哈', '','','' when part
function is used by substring index. So we should change splitpart limit
to -1 to enable trailing empty character in splitpart list
- reorganize fold constant of string functions in fe and add more cases

---------

Co-authored-by: Mryange <59914473+Mryange@users.noreply.github.com>
2025-01-09 17:05:13 +08:00
4f41bad283 branch-2.1: [fix](Nereids) fix cast string to date #46065 (#46526)
pick: #46065

Related PR: #35637

Problem Summary:
When cast("201-01-01" as datetimev2(0)), The result is "2020-01-01" but
it is wrong. It should be result in "0201-01-01".
201 would be regarded as 20xy-0z as related pr show, it was a bug. But
actually it should not have this trasformation and result in
2025-01-09 17:03:36 +08:00
Pxl
521e653631 [Chore](check) add error check for agg state with some function use special serializ… (#46552) 2025-01-09 11:10:44 +08:00
52fd9349f0 [regression-test](case) Reduce test_load_to_single_tablet.groovy data size to prevent failure (#46655) 2025-01-09 08:18:18 +08:00
84ea1ee834 branch-2.1: [fix](suites) Fix atomic restore alter suite with master_sql #46550 (#46653)
Cherry-picked from #46550

Co-authored-by: walter <maochuan@selectdb.com>
2025-01-09 08:17:39 +08:00
f744b51c8c branch-2.1: [chore](regression) modify cos bucket of paimon case #46592 (#46642)
Cherry-picked from #46592

Co-authored-by: zgxme <zhenggaoxiong@selectdb.com>
2025-01-09 08:17:23 +08:00
b23877fe65 [regression-test](case) add info to debug test_workload_sched_policy.… (#46651) 2025-01-09 08:16:59 +08:00
ca5a4f6d35 [Fix](Variant) variant should not implicit be short key column when create mv (#46539)
cherry-pick from #46444
2025-01-09 08:15:22 +08:00
0ecb84c638 branch-2.1: [Fix](partial update) Fix incorrect result when partial update include delete sign columns #46194 (#46543)
pick https://github.com/apache/doris/pull/46194
2025-01-09 08:14:46 +08:00
01469e11cf [fix](regression-test) fix test_routine_load_eof case unstable (#46644)
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->

Co-authored-by: yiguolei <guolei@selectdb.com>
2025-01-09 08:13:36 +08:00
ba091ae4bd [fix](ci) tmp exclude block case test_cumu_compaction_with_delete (#46649) 2025-01-08 22:00:26 +08:00
6a68b09100 branch-2.1: [fix](cache) fix mtmv cache can not use test #46537 (#46607)
Cherry-picked from #46537

Co-authored-by: 924060929 <lanhuajian@selectdb.com>
2025-01-08 21:09:53 +08:00
c805e69171 branch-2.1: [regression-test](fix) fix test_bloom_filter_hit.groovy case bug #46438 (#46617)
Cherry-picked from #46438

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-08 15:51:23 +08:00
ddeec1426d [fix](test)Fix unstable index_change_with_cumu case (#46527)(#38733) (#46529)
bp: #46527, #38733
2025-01-08 15:41:43 +08:00
4d0037a928 branch-2.1: [fix](ES catalog)Fix query long value exception with doc_value #46554 (#46581)
Cherry-picked from #46554

Co-authored-by: qiye <luen@selectdb.com>
2025-01-08 15:26:58 +08:00
2687dedabf [fix](nereids) fix sql cache bug and some tests (#46443) (#46505)
cherry pick from #46443
2025-01-08 14:45:06 +08:00
eda8a26ec8 [ci](fix) tmp exclude case test_routine_load_eof (#46586) 2025-01-08 11:12:53 +08:00
e90480037b [fix](index compaction)Fix construct index compaction columns core when reader close error (#46508)
fix #46507
2025-01-08 10:39:37 +08:00
4b3422fc8e branch-2.1: [fix](bf index) add ngram bf index validation in nereids index definition check #45780 (#46216)
cherry pick from #45780
2025-01-08 10:04:21 +08:00
Pxl
2f98a6216e [Bug](join) fix columnstr64's offset overflow on serialize_value_into_arena #46461 (#46462)
pick from #46461
2025-01-07 19:59:35 +08:00
45eaa3862d [regression-test](fix) fix test_audit_log_behavior.groovy bug (#46100) (#46524)
Issue Number: close #xxx

Related PR: #xxx

Problem Summary:
In this case, select stmt from __internal_schema.audit_log where stmt
like '%3F6B9A_1%' order by time asc limit 1
will also be inserted into audit log table, and be selected, which will
cause assert fail in test case, which want a insert stmt.
2025-01-07 14:38:25 +08:00
c9ab3b9e3a [regression-test](fix) ignore E-2000 in compaction cases (#46522)
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx
#46436
2025-01-07 14:26:54 +08:00
aa47a35384 [fix](mem) heap-buffer-overflow for function convert_to (#46405) (#46502)
pick #46405 to branch-2.1
2025-01-07 13:46:32 +08:00
abbf75e9fe branch-2.1: [fix](Nereids) insert into with cte cannot be explained (#46384) (#46501)
pick from master #46384
2025-01-07 13:44:32 +08:00
8f4b76a5f3 [fix](regression-test) adjust hudi cases (#46473) (#46488)
cherry-pick #46473

Co-authored-by: Socrates <suyiteng@selectdb.com>
2025-01-07 12:11:34 +08:00
5e9847a778 [regression-test](fix) fix global var bug in compaction/test_cumu_compaction_with_delete.groovy (#46514) 2025-01-07 11:41:05 +08:00
dda058c433 branch-2.1: [fix](test)fix unstable case correctness_p0/test_mv_case/test_mv_case #46101 (#46431)
Cherry-picked from #46101

Co-authored-by: starocean999 <lichi@selectdb.com>
2025-01-06 17:42:40 +08:00
6958dec242 branch-2.1: [fix](regression)Fix schema change statistics case. Neredis not allow change MV schema. #46433 (#46448)
Cherry-picked from #46433

Co-authored-by: James <lijibing@selectdb.com>
2025-01-06 16:50:52 +08:00
7b8a93879c [test](mtmv)Test and check the differences between MTMV and OLAP (#44793)
pick from #36520 
pick from #44417 

Co-authored-by: zhangdong <zhangdong@selectdb.com>
2025-01-06 09:57:59 +08:00
12350ca867 branch-2.1: [Improve](mtmv) skip the generation of invalid task for refresh mtmv #46280 (#46392)
Cherry-picked from #46280

Co-authored-by: shee <13843187+qzsee@users.noreply.github.com>
Co-authored-by: garenshi <garenshi@tencent.com>
2025-01-05 08:59:11 +08:00
3d6ad47d08 branch-2.1: [fix](test) fix unstable lower case test #46410 (#46416)
Cherry-picked from #46410

Co-authored-by: Mingyu Chen (Rayner) <morningman@163.com>
2025-01-04 22:28:29 +08:00
1b1d7e2f29 branch-2.1: [fix](test) fix test_autoinc_broker_load.groovy #46320 (#46338)
Cherry-picked from #46320

Co-authored-by: Mingyu Chen (Rayner) <morningman@163.com>
2025-01-04 14:17:31 +08:00
012848060b branch-2.1: [fix](test) Fix mysql catalog check db test #46263 (#46343)
Cherry-picked from #46263

Co-authored-by: zy-kkk <zhongyk10@gmail.com>
2025-01-04 10:45:26 +08:00
db224ba15f [fix](variant) fix schema change for variant from not null to null (#46403)
cherry-pick from #46279
2025-01-04 09:00:43 +08:00
d8c94d6392 branch-2.1: [fix](regression)fix hive translation unstable case. #46385 (#46409)
Cherry-picked from #46385

Co-authored-by: daidai <changyuwei@selectdb.com>
2025-01-04 08:59:56 +08:00
e9921d7a07 branch-2.1: [fix](external catalog) Fixed non-master FE log replay during refresh (#46373)
cherry-pick #46369
2025-01-03 22:03:30 +08:00
69de40ca27 branch-2.1: [fix](regression-test) fix injection would not be removed when exception #46357 (#46360)
Cherry-picked from #46357

Co-authored-by: hui lai <laihui@selectdb.com>
2025-01-03 22:02:50 +08:00
384b78fa4e [Fix]delete internal group (#46351) 2025-01-03 21:59:36 +08:00
333b54eaba [fix](ip) fix ip nullable param without check (#44700) (#46252)
if we use ipv6_cidr_to_range function with nullable func which with
invalid ipv6 will make be core
```
mysql> select id, ipv6_cidr_to_range(nullable(''), 32) from fn_test_ip_nullable order by id;
```
2025-01-03 21:24:37 +08:00
26f570f40e [test](test) fix unstable paimon test cases (#46383)
cherry-pick #46381
2025-01-03 20:04:59 +08:00
ff68859546 branch-2.1: [improvement](http) improve table schema api for catalog table #45933 (#45982)
Cherry-picked from #45933

Co-authored-by: wudi <wudi@selectdb.com>
2025-01-03 16:40:12 +08:00
025038410c [opt](test) add more debug info in test_jdbc_catalog_ddl.groovy (#46323)
cherry-pick #46322
2025-01-03 09:14:54 +08:00
79955e3d94 branch-2.1: [fix](regression-test) flush out file to fix hudi p2 #46258 (#46317)
Cherry-picked from #46258

Co-authored-by: Socrates <suyiteng@selectdb.com>
2025-01-03 09:13:48 +08:00