Commit Graph

10982 Commits

Author SHA1 Message Date
fe942eaf44 [Fix](Nereids) Fix minidump using put all of hashmap (#20268)
Minidump file wants to get information as much as possible, but when close the switch, these methods should not be called after refactor pr: #20049. Other place of doing more jobs after add Minidump feature also be checked.
2023-06-05 13:05:15 +08:00
0dc6d3a568 [fix](nereids) avg size of column stats always be 0 (#20341)
it takes lot of effort to compute the avgSizeByte for col stats.
we use schema information to avoid compute actual average size
2023-06-05 13:01:58 +08:00
cd0379df4e [fix](nereids) select with specified partition name is not work as expected (#20269)
This PR is to fix the select specific partition issue, certain codes related to this feature were accidentally deleted.
2023-06-05 12:48:54 +08:00
d03bb4ba7b [Optimize](function) Optimize locate function by compare across strings (#20290)
Optimize locate function by compare across strings. about 90% speed up test by sum()
2023-06-05 12:43:14 +08:00
3c28a71378 [fix](dynamic partition) partition create failed after alter distributed column (#20239)
This pr fix following two problems:

Problem1: Alter column comment make add dynamic partition failed inside issue #10811

create table with dynamic partition policy;
restart FE;
alter distribution column comment;
alter dynamic_partition.end to trigger add new partition by dynamic partition scheduler;
Then we got the error log, and the new partition create failed.
dynamic add partition failed: errCode = 2, detailMessage =      Cannot assign hash distribution with different distribution cols. default is: [id int(11) NULL COMMENT 'new_comment_of_id'], db: default_cluster:example_db, table: test_2
Problem2: rename distributed column, make old partition insert failed. inside #20405

The key point of the reproduce steps is restart FE.

It seems all versions will be affected, include master and lts-1.1 and so on.
2023-06-05 12:20:50 +08:00
d392791114 [Chore](docs)Remove the Committer-related description in the contribution guide (#20418) 2023-06-05 12:03:48 +08:00
a6d8115cbc [Improvement](planner) expand sql-block-rule to make it can be used on all kinds of sql stmt (#19540)
Currently, sql-block-rule can only be used for query statements, while it's useful for other stmts like insert / delete / alter / drop etc. Now remove the limitation and expand its using scenario.
2023-06-05 11:01:43 +08:00
660ab34147 [fix](multicatalog) support read from hive table with HIVE_UNION_SUBDIR in path location (#20329) 2023-06-05 11:01:24 +08:00
12f89b879f [fix](stats) Analysis info lost after checkpoint (#20412)
1. Implement write/read for AnalysisManager 
2. If database or table has any column with complex type, the analyze stmt would fail directly. Enable to ignore complex type columns and analyze rest of them in this PR
2023-06-05 10:51:02 +08:00
c6387847aa [fix](nereids) change defaultConcreteType function's return value for decimal (#20380)
1. add default decimalv2 and decimalv3 for NullType
2. change defaultConcreteType of decimalv3 to this
2023-06-05 10:50:07 +08:00
90a5be913c [enhancement](merge-on-write) avoid unecessary pk index iteration while memtable flushing (#20244) 2023-06-05 10:48:33 +08:00
Pxl
7dc7ed97eb [Chore](build) remove some unused code and remove some wno (#20326)
remove some unused code about spinlock
remove some wno and fix warning
remove varadic macro usage
2023-06-05 10:48:07 +08:00
59a0f80233 [Improve](array-function)Improve array function intersect (#20085)
now we just support array function with 2 arrays , but intersect operator can support more than 2 arrays
2023-06-05 10:38:48 +08:00
653dc715f6 [fix](pipeline) Comment unstable p1 tests #20407
Some stats collection related tests is unstable, comment it temporarily
2023-06-05 09:53:34 +08:00
e90b78d783 [chore](regression) add case in test_delete (#20372)
Add some cases of deletion conditions with numeric values.
2023-06-05 09:38:29 +08:00
26201dfdd1 [typo](doc) Fixed typos in bitmap_subset_limit.md (#19582) 2023-06-05 09:15:44 +08:00
92af861481 [Fix] Change open tablet log level #20306
Now, during the open tablet operation, logs will be printed, and a large number of logs will be generated under high-frequency import. It is necessary to reduce the log level.
2023-06-05 08:45:32 +08:00
32b0013a35 [fix](memory) Fix query memory tracking #20253
The memory released by the query end is recorded in the query mem tracker, main memory in _runtime_state.
fix page no cache memory tracking
Now the main reason for the inaccurate query memory tracking is that the virtual memory used by the query is sometimes much larger than the actual memory. And the mem hook counts virtual memory.
2023-06-05 08:33:38 +08:00
50ce237a24 [fix](regression) exclude test_analyze_stats_p1 suite (#20366)
test_analyze_stats_p1 is failing constantly in regression test, @morrySnow suggests ignoring it first.

http://43.132.222.7:8111/test/-5693062769677098407?currentProjectId=Doris_DorisRegression&expandTestHistoryChartSection=true&expandedTest=build%3A%28id%3A155592%29%2Cid%3A9944
2023-06-05 08:21:46 +08:00
Pxl
8e39f0cf6b [Enchancement](Agg State) storage function name and result is nullable in agg state type (#20298)
storage function name and result is nullable in agg state type
2023-06-04 22:44:48 +08:00
e6f395c9da [build](scripts) modify build-for-release.sh (#20398) 2023-06-04 20:47:42 +08:00
b0bbff0fd1 [performance](load) improve memtable sort performance (#20392) 2023-06-04 20:33:15 +08:00
34a1b7599f [Fix](lazy_open) fix lazy open commit info lose (#20404) 2023-06-04 19:08:36 +08:00
e1dbee5e90 [pipeline](opt) Opt fragment instance prepare performance by thread pool (#20399) 2023-06-04 12:10:35 +08:00
efb3b0f3ef [fix](community) fix PR template (#20400) 2023-06-04 08:44:32 +08:00
5b026df60d [typo](doc) Fixed typos in hive.md (#19457) 2023-06-03 21:24:07 +08:00
dd958b9745 [typo](doc)Remove the description of the BE configuration 'serialize_batch' which has been removed (#20163) 2023-06-03 21:23:25 +08:00
4c9b94a726 [typo](doc)Update runtime-filter.md (#20292) 2023-06-03 21:22:28 +08:00
282e3a3e85 [typo](doc)Update compilation-general.md (#20261)
Add some explanations about docker run parameter
2023-06-03 17:32:12 +08:00
ebc12ac55e [typo](doc)Update compilation-general.md (#20262)
Add some explanations about docker run parameter
2023-06-03 17:31:41 +08:00
4c2de40c17 [typo](doc)Update stream-load-manual.md (#20277)
Modify the sequential label
2023-06-03 17:31:21 +08:00
bc830d611a [docs](auth) forbid 127.0.0.1 passwd free login (#19096) 2023-06-03 17:30:21 +08:00
ad5e34ab9c [Doc](statistics) supplement stats doc (regression test and automatic collection) (#20071) 2023-06-03 17:25:33 +08:00
ce3be0c0a7 [docs](load-balancing):delete duplicate sentences and improve the documentation description (#20297) 2023-06-03 17:02:16 +08:00
160eae80c0 [docs](workload-group) add user binding workload group docs (#20382) 2023-06-03 17:01:31 +08:00
997f7ecc07 [typo](doc)Add a demo of export minio (#20323) 2023-06-03 16:59:32 +08:00
77855fcd43 [fix](inverted index) fix transaction id changed when light index change (#20302) 2023-06-03 16:05:02 +08:00
ffadaa4935 [improvement](inverted index) skip write index on load and generate index on compaction (#20325) 2023-06-03 16:03:21 +08:00
3e186a8821 [opt](MergedIO) optimize merge small IO, prevent amplified read (#20305)
Optimize the strategy of merging small IO to prevent severe read amplification, and turn off merged IO when file cache enabled.
Adjustable parameters:
```
// the max amplified read ratio when merging small IO
max_amplified_read_ratio=0.8
// the min segment size
file_cache_min_file_segment_size = 1048576
```
2023-06-03 10:51:24 +08:00
6958a8f92f [fix](dynamic_partition) fix dead lock when modify dynamic partition property for olap table (#20390)
Co-authored-by: caiconghui1 <caiconghui1@jd.com>
2023-06-03 08:25:20 +08:00
a389a51a61 [typo](docs)clearly describe the rename syntax (#20335) 2023-06-02 22:48:25 +08:00
0e06f15c87 [DOCS](data-types) remove old types (#20375) 2023-06-02 22:47:22 +08:00
4e4972d311 [fix](regression) test_partial_update_with_row_column (#20279) 2023-06-02 21:51:33 +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
Pxl
90d710e83d [Enchancement](function) optimize for padding function && add string length check on string op (#20363) 2023-06-02 21:24:41 +08:00
b62c5a70c7 [fix](match query) fix array column match query failed without inverted index (#20344) 2023-06-02 21:10:12 +08:00
299c3dc396 [fix](Nereids) should not inherit child's limit and offset when generate exchange node (#20373)
in legacy planner, when we new exchange, it inherit its child's limit and offset.
but in Nereids, we should not do this. because if we need set limit or offset, we will set it manually.
In this PR, we use a new ctor of ExchangeNode to ensure not set limit or offset unexpected.
2023-06-02 19:55:33 +08:00
a8e0841ef1 [fix](workload-group) fix incorrect memoryLimitPercent value (#20377) 2023-06-02 18:57:57 +08:00
adc3acb283 [fix](match) fix match query with compound predicates return -6003 (#20361) 2023-06-02 18:25:37 +08:00
0b86d07c0c [Docs](docs) Update BE http documents (#17604) 2023-06-02 18:01:44 +08:00