Commit Graph

18429 Commits

Author SHA1 Message Date
48880c3e1a [Fix](timezone) fix miss of expected rounding of Date type with timezone #33553 2024-04-17 23:42:11 +08:00
1f5116f3c1 [testcases](auto-partition) Add and fix testcases in P0 #33588 2024-04-17 23:42:11 +08:00
348a043b76 [neride][foldconstant] disable fold constant by be 2024-04-17 23:42:00 +08:00
a545a34eec [fix](feservice) remove connect context (#33583) 2024-04-17 23:42:00 +08:00
d1a68b8c42 [enhancement](merge-iterator) catch exception to avoid coredump when copy_rows (#33567) 2024-04-17 23:42:00 +08:00
cc103920d1 [k8s](improve)add docker resource script for k8s (#33329) 2024-04-17 23:42:00 +08:00
e71b7513e1 [test](bi) add dbeaver and datagrip connect doris test (#33487) 2024-04-17 23:42:00 +08:00
ae68cca07d [fix](schema change) CastStringConverter is compiled failed in g++ (#33546)
follow #32873, CastStringConverter is compiled failed in g++ for uninitialized value, which is ok in clang:
2024-04-17 23:42:00 +08:00
1a8b1e6787 [pipelineX](broadcast) Set dependency ready if a limited exchange returns EOS (#33525) 2024-04-17 23:42:00 +08:00
379c2e0762 [Fix](Nereids) fix leading hint should have all tables in one query block (#33517) 2024-04-17 23:42:00 +08:00
7d1b66e5ed [Fix] fix compile problem (#33578)
Co-authored-by: feiniaofeiafei <moailing@selectdb.com>
2024-04-17 23:42:00 +08:00
e5c52b5f82 [feature](profile) add non-zero counter in profile(#33342)
add non-zero counter in profile
2024-04-17 23:42:00 +08:00
80c6531cfc [fix](timeout) query timeout was not correctly set (#33444) 2024-04-17 23:42:00 +08:00
946c1924b1 [fix](routine-load) fix consumer hang when kafka exception causing can not query (#33492) 2024-04-17 23:42:00 +08:00
aed3dd72a7 [chore](test) update one join case for nereids because ambiguous name (#33562) 2024-04-17 23:42:00 +08:00
979e091e0a [opt](Nereids) support select async mv partition (#33560) 2024-04-17 23:42:00 +08:00
ae4a7c93ac [feat](nereids) support create view in nereids (#32743) 2024-04-17 23:42:00 +08:00
7bc82cab73 [chore](Nereids) better way to return error (#33507) 2024-04-17 23:42:00 +08:00
cea02c4fb6 [fix](fs) Close local file writer when downloading finished (#33556) 2024-04-17 23:42:00 +08:00
249a9c9875 [Feature](Variant) support aggregation model for Variant type (#33493)
refactor use `insert_from` to replace `replace_column_data` for variable lengths columns
2024-04-17 23:42:00 +08:00
01f333086d [pipelineX](fix) Fix data pooling judgement for bucket join (#33533) 2024-04-17 23:42:00 +08:00
50b64a111d [refactor](heap sort) Simplify sorted block view (#33477) 2024-04-17 23:42:00 +08:00
2746ee9d3a [FIX](regresstest) fix array_range case for regress test (#33337) 2024-04-17 23:42:00 +08:00
7f27461f4b [Chore](code comment) add comment for #32999 (#33548) 2024-04-17 23:41:59 +08:00
b2b385a4ff [improve](fold) support complex type for constant folding (#32867) 2024-04-17 23:41:59 +08:00
6bcf24b1f6 [bug](not in) if not in (null) could eos early (#33482)
* [bug](not in) if not in (null) could eos early
2024-04-17 23:41:59 +08:00
9dfc9665fb [Fix](inverted index) fix build index error status when batch_next (#33532) 2024-04-17 23:41:59 +08:00
Pxl
883f0a96c4 [Improvementation](stream-load) improve streamLoadPut log warning detail (#33535)
improve streamLoadPut log warning detail
2024-04-17 23:41:59 +08:00
911f61c68d [opt](Nereids) support set operation minus (#33582) 2024-04-17 23:41:59 +08:00
5d5b059e3a [fix](memory) Fix compaction destructor memory tracking #33549 (#33572) 2024-04-17 23:41:59 +08:00
38c5030f97 [opt](log) refactor the log dir config (#32933)
Refactor the config for log dir of FE and BE

TLDR:
- Use env variable `LOG_DIR` to set root log dir
- Remove `sys_log_dir` for FE and BE

Details:

1. FE

    1. The root log dir is set by env variable `LOG_DIR` in `fe.conf`
    2. The default value of `audit_log_dir` is same as `${LOG_DIR}/`
    3. The default value of `spark_launcher_log_dir` is `${LOG_DIR}/spark_launcher_log`
    4. The default value of `nereids_trace_log_dir` is `${LOG_DIR}/nereids_trace_log`
    5. The origin `sys_log_dir` is deprecated, and default value is `""`.
        But for compatibility, if user already set `sys_log_dir` before, Doris will still use it as root log dir.

2. BE

     1. The root log dir is set by env variable `LOG_DIR` in `be.conf`
     2. Remove `pipeline_tracing_log_dir`, use `${LOG_DIR}` directly.
     3. The origin `sys_log_dir` is deprecated, and default value is `""`.
         But for compatibility, if user already set `sys_log_dir` before, Doris will still use it as root log dir.
2024-04-17 23:41:59 +08:00
09fb30c989 (Chore)[regression-test] fix unstable output variant case (#33520) 2024-04-17 23:41:59 +08:00
82d2bde3c7 [fix](nereids) do not transpose semi join agg when mark join (#32475) 2024-04-17 23:41:59 +08:00
d436dd6264 [fix](mtmv)add logs for mv_infos() (#33485) 2024-04-17 23:41:59 +08:00
92d28e497b [refactor](Nereids): compute unique and uniform property respectively (#32908) 2024-04-17 23:41:59 +08:00
272269f9c1 [Fix](inverted index) fix fast execute problem when need read data opt enabled (#33526) 2024-04-17 23:41:59 +08:00
ca59b25d59 [feat](nereids) add session var to turn on/off common sub expressoin extraction (branch-2.1) #33616 2024-04-17 23:41:43 +08:00
e26a53d8a6 [fix](nereids) SemiJoinSemiJoinTransposeProject rule didn't handle mark join correctly (#33401) 2024-04-12 15:09:25 +08:00
78b81d4150 [fix](test) remove distribute node of shape in some regression test (#33463) 2024-04-12 15:09:25 +08:00
87806a0137 [fix](debug point) fix gcc compile (#33451) 2024-04-12 15:09:25 +08:00
d2f84229ec [chore](test) remove some outdated datetime test case (#33476) 2024-04-12 15:09:25 +08:00
b035c7ceb4 [fix](catalog) fix resource is not reopen when rename catalog (#33432)
During the renaming of `JdbcCatalog`, I noticed that the `jdbcClient` was being closed, 
resulting in exceptions during subsequent queries. This happens because the `removeCatalog` 
method is invoked when changing the name, which in turn calls the `onClose` method of the catalog. 
Ideally, the client should not be closed when renaming the catalog. 
However, to avoid extra checks in the `removeCatalog` method, we can simply execute `onRefresh` 
in the `addCatalog` method to address this issue.
2024-04-12 15:09:25 +08:00
22c42209f7 [fix](nereids) fix a visitor bug in CommonSubExpressionOpt (#33154)
* fix a bug in visitproject
* fix-variant
2024-04-12 15:09:25 +08:00
8c66915bb5 [fix](doris compose) Fix not show ms recycler .out log in cloud mode (#33489) 2024-04-12 15:09:25 +08:00
fefbde8927 [log](move-memtable) improve logs in vtablet_writer_v2 and load_stream (#33103) 2024-04-12 15:09:25 +08:00
1da1fac4ee [improve](load) try lock 30ms to get base_migration_lock in rowset builder (#32243) 2024-04-12 15:09:25 +08:00
53336d6170 [fix](routine-load) routine load date where expression rewrite should change over time (#33345) 2024-04-12 15:09:25 +08:00
031f1e6a65 [case](regression) Add backup restore with NGRAM bloom filter (#33479) 2024-04-12 15:09:25 +08:00
9b7af4c0cf [feature](schema change) unified schema change for parquet and orc reader (#32873)
Following #25138, unified schema change interface for parquet and orc reader, and can be applied to other format readers as well.
Unified schema change interface for all format readers:
- First, read the data according to the column type of the file into source column;
- Second, convert source column to the destination column with type planned by FE.
2024-04-12 15:09:25 +08:00
fe772c76e7 [fix](restore) Fix the conflict IDs between two cluster (#33423)
The meta of the restore may come from different clusters, so the
original ID in the meta may conflict with the ID of the new cluster. For
example, if a newly allocated ID happens to be the same as an original ID,
the original one may be overwritten when executing `put`.
2024-04-12 15:09:25 +08:00