Commit Graph

2791 Commits

Author SHA1 Message Date
e9a73ee278 [Bug] Fix the memory expand 10~1000x of compression algorithm (#5504)
Fix the memory expand 10~1000x of compression algorithm in load and compaction
2021-03-12 23:04:07 +08:00
543ed46bc3 (#5390)fix NPE when replay colocate group (#5391)
* (#5390)fix NPE when replay colocate group

* remove table id from colocate group when duplicate create table

* remove tablet id when duplicate create table,just like ddlexception

* add ut
2021-03-12 14:24:34 +08:00
c9a25aa29e [UT] fix memory tracker ut (#5501)
* [UT] fix memory tracker ut

* Update mem_limit_test.cpp
2021-03-12 13:45:04 +08:00
8ead0aaad8 [Enhance] Sort directories by available space when do trash sweep (#5498)
* [Enhance] Sort directories by available space when do trash sweep

In the case when one disk is about to be full, we want to sweep trash
data on this disk as quickly as possible. The currently trash sweep
function is to remove trashed files order by path's name, however, disk
data directories may have some large different available space because
of the load balance algorithm, this patch improve it to remove files by
directories' available space.

* add log
2021-03-12 13:43:27 +08:00
511ddab3b1 Create how-to-contribute.md (#5506)
change ‘micro-signal to WeChat-ID’.
同时这个旧的PR#5477作废
2021-03-12 13:39:14 +08:00
9254e78e57 Fix compatibility of glibc (#5502)
* fix compatibility

* remove eventfd.c because eventfd in differene glibc has different declarition
2021-03-12 11:44:43 +08:00
315b801561 [Bug] Fix bug that the log message is wrong when ReportHandler can not find tablet meta from TabletInvertedIndex (#5497)
* [Bug] Fix bug that the log message is wrong when ReportHandler can not find tablet meta from TabletInvertedIndex

Co-authored-by: caiconghui [蔡聪辉] <caiconghui@xiaomi.com>
2021-03-12 10:43:07 +08:00
64fa305c06 [Doc] correct format errors in English doc (#5487)
Some formate errors in English doc.
They are very straightforward and should not break any existing build.
2021-03-11 22:34:54 +08:00
689602e686 [Enhancement] Support Pallralel Merge In Exchange Node (#5468)
Support Parallel Merge In Exchange Node
2021-03-11 22:34:18 +08:00
0131c33966 [Enhance] Improve the readability of memtrackers' name (#5455)
Improve the readability of memtrackers' name, then you will be happy to read website be_ip:port/mem_tracker
2021-03-11 22:33:31 +08:00
e5c7a6dd9f [Bug] hll serialize 160 items cause backend crash(#5424) (#5425)
Co-authored-by: lanhuajian <lanhuajian@sankuai.com>
2021-03-11 22:24:01 +08:00
89bfbdf811 [Bug][Spark Load] Spark Repository throws an exception when user configures spark_ resource_ path (#5417) 2021-03-11 22:23:26 +08:00
6cbbc36ea1 [Export] Expand function of export stmt (#5445)
1. Support where clause in export stmt which only export selected rows.

The syntax is following:

Export table [table name]
    where [expr]
To xxx
xxxx

It will filter table rows.
Only rows that meet the where condition can be exported.

2. Support utf8 separator

3. Support export to local

The syntax is following:

Export table [table name]
To (file:///xxx/xx/xx)

If user export rows to local, the broker properties is not requried.
User only need to create a local folder to store data, and fill in the path of the folder starting with file://

Change-Id: Ib7e7ece5accb3e359a67310b0bf006d42cd3f6f5
2021-03-11 20:43:32 +08:00
7a8fbe5db8 [internal] [doris-1084] support compressed csv file in stream load (#5463) 2021-03-11 10:53:05 +08:00
a6046049d3 [DOCS] Add missing en doc Setting Up dev env for FE - IntelliJ IDEA (#5492) 2021-03-10 20:51:17 +08:00
ee91c047fa [GitHub] Fix PR Template (#5494) 2021-03-10 19:13:43 +08:00
079b764136 [Bug] Fix thread safe problem when check whether olap table is stable (#5478) 2021-03-10 19:12:00 +08:00
620de71052 Update basic-usage.md (#5493)
[Docs] Fix typo in docs zh-CN getting-started basic-usage.md
2021-03-10 18:36:56 +08:00
7aad412539 [MINOR] Remove offensive words (#5495) 2021-03-10 18:36:02 +08:00
b4c8e9de7f [Bug] Fix create view faild when StringLiteral in SelectStmt contains single quotes (#5484)
* [Bug] Fix create view faild when StringLiteral in SelectStmt contains single quotes

Co-authored-by: caiconghui [蔡聪辉] <caiconghui@xiaomi.com>
2021-03-10 14:47:02 +08:00
36002bec48 Fix bug that sql with limit query statistics are wrong (#5347)
Co-authored-by: weixiang <weixiang06@meituan.com>

When querying sql is with limit, the query statistics will be enlarged by merging the query statistics of each batch.

Fix #5340
2021-03-10 10:24:12 +08:00
1d1a2569aa Update install-deploy.md (#5482)
[Docs] fix a mistake in docs zh-CN installing
2021-03-10 10:23:06 +08:00
bd53f407aa [Bucket Shuffle Join] Support the some featrue of Bucket Shuffle Join (#5459)
1.Support Bucket Shuffle Join when left table is colocate table or Colocate/Bucket Bucket Shuffle Join
2.Enable Local Rumtime Filter when there is Bucket Shuffle Join and Colocate Join
3.Add Doc for Bucket Shuffle Join
2021-03-09 14:47:59 +08:00
e023ef5404 [Load] Support multi bytes LineDelimiter and ColumnSeparator (#5462)
* [Internal][Support Multibytes Separator] doris-1079
support multi bytes LineDelimiter and ColumnSeparator
2021-03-09 09:35:39 +08:00
a1160bcd99 [Bug] Fix bug that data lost when doing backup job (#5473)
Backup job may delete the tablet of existing table, which cause data lost.
2021-03-08 09:32:16 +08:00
43dd583cfc Fix dlopen faild by upgrade cmake (#5481)
* fix dlopen faild

* remove useless code
2021-03-08 09:02:53 +08:00
db2120a7f2 [Build][BE] Fix GLIBC_COMPATIBILITY can not compile in centos6 (#5472)
Add option to disable glibc_compatibility
2021-03-07 20:47:13 +08:00
35f5cb8e0c [Bug] Fix bug that BE failed to start when validating conf from be_custom.conf (#5465) 2021-03-07 17:37:14 +08:00
8855782aab [Doc] Fix page links (#5454) 2021-03-06 16:13:56 +08:00
ae364dea3d [BUG] fix DECHECK Fail While Call UDF (#5457) 2021-03-06 16:13:30 +08:00
d6ac8f4e35 Masking glibc symbols for better portability (#4180)
* Masking glibc symbols for better portability

* Remove redundant files
2021-03-05 13:15:55 +08:00
c95f00d508 [Bug] Fix bug that the image cannot be pulled after the new fe nodes added (#5418)
* [Bug] Fix bug that the image cannot be pulled after the new fe node is added

This is because httpv2 modified the response body of the "/info" api,
causing FE to fail to obtain info from this api.
And the system did not exit correctly.

This will also cause issues in issue #5292
2021-03-05 10:50:54 +08:00
c9ddd88e14 [Rewrite]Rewrite from_unixtime to reduce calling this function (#5444)
from_unxitime is a cpu-exhausted function.
SQL: select filed from table where from_unixtime(field) > '2021-03-02',
if there are one million rows of data. Function from_unixtime will be called one million times,
which will make query very slow.

In issue #5443, we try to rewrite from_unixtime into timestamp to reduce calling this function.
This rewriting can bring 2 times query performance improvement.
2021-03-04 22:31:28 +08:00
805f98e0f9 [Bug] Set dest tuple to null when src_tuple is NULL. (#5431) 2021-03-04 22:26:05 +08:00
77485521d3 [Enhancement] move FeMetaVersion.java from fe-common to fe-core #5426 (#5427)
Currently, FeMetaVersion.java is in fe-common, users may forget to copy fe-common.jar when upgrading the service.
It's really dangerous because the data may be corrupted and can not be recovered.
2021-03-04 22:25:03 +08:00
4e1b6b3eef [ODBC] Let the type conversion of the fail in query in ODBC of MySQL table to prompt the information of the column (#5422)
Let the type conversion of the fail in query in ODBC of MySQL table to prompt the information of the column
2021-03-04 22:23:37 +08:00
8c34013cf6 [Enhance] Remove order by from insert into select (#5419)
remove unnecessary order by of insert into select stmt
2021-03-04 22:23:16 +08:00
bfce98f4b9 [Bug] The toString() method in PartitionInfo class. Property information strings are concatenated together (#5407) 2021-03-04 22:22:37 +08:00
c38a1c799f [Config] Support config validating when BE bootstrap and update BE's config by API (#5379)
Some invalid config value may cause BE work in an unexpected behavior,
this patch aim to support config validating when BE bootstrap and update BE's config by API
to reject invalid value.
This is a work to accomplish PR #4423
2021-03-04 22:21:49 +08:00
bf086408d8 [Doc] Add query cache docs (#4479) 2021-03-04 22:21:08 +08:00
47d6b1ff0b Fix ut failed for topn_function_test (#5449)
Co-authored-by: caiconghui [蔡聪辉] <caiconghui@xiaomi.com>
2021-03-04 21:53:52 +08:00
5a6be411da [Ut] Add drop meta unit test and remove some redundant code in Alter (#5395)
* [Ut] Add drop meta unit test and remove some redundant code in Alter

Co-authored-by: caiconghui [蔡聪辉] <caiconghui@xiaomi.com>
2021-03-04 21:53:31 +08:00
39136011c2 [Spark-Doris-Connector][Bug-Fix] Resolve deserialize exception when Spark Doris Connector in aync deserialize mode (#5336)
Resolve deserialize exception when Spark Doris Connector in aync deserialize mode 
Co-authored-by: lanhuajian <lanhuajian@sankuai.com>
2021-03-04 17:48:59 +08:00
9c8766356a [Bug-Fix][Bitmap][Be] Resolve bitmap_not calculate wrong result(#5440) (#5441)
bitmap_not calculate wrong result(#5440)

Execute follow sql, and expect response ''
```
select bitmap_to_string(bitmap_not(bitmap_from_string('1'), bitmap_from_string('2,1'))); 
```

Co-authored-by: lanhuajian <lanhuajian@sankuai.com>
2021-03-04 15:46:42 +08:00
7a41629fbe [Audit] Support builtin load audit function to record successful bulk load job (#5183)
* [Audit] Support builtin load audit function to record successful bulk load job

Co-authored-by: caiconghui [蔡聪辉] <caiconghui@xiaomi.com>
2021-03-03 17:01:02 +08:00
422456c31a Add warn log when client report be state failed and refactor some report code (#5342)
There are some redundant code for report task, disk and tablet in be, and when fe return error report message, there is no any warn log showing report failed.

Co-authored-by: caiconghui [蔡聪辉] <caiconghui@xiaomi.com>
2021-03-03 17:00:21 +08:00
80d237510d [Doc] Modify dead link of doc (#5411)
Fix #5405

Co-authored-by: xxiao2018 <benghua3_1@sina.com>
2021-03-03 15:20:17 +08:00
6a00c68264 Fix a typo ehco -> echo (#5433) 2021-03-03 14:46:54 +08:00
e93a6da0e5 [Doc] correct format errors in English doc (#5321)
Fix some English doc format errors
2021-02-26 11:32:14 +08:00
fdd13ea79a [Broker] Fix broker load fail using SIMPLE auth after KERBEROS auth fail (#5412)
Co-authored-by: liwei5 <liwei5@vipkid.com.cn>
2021-02-25 09:53:50 +08:00