Commit Graph

683 Commits

Author SHA1 Message Date
30028bc35b Deny specify partition for unpartitioned table (#1319) 2019-06-15 18:19:56 +08:00
9d03ba236b Uniform Status (#1317) 2019-06-14 23:38:31 +08:00
5c2cf9f2ce Handle the situation when there is no enough backends for tablet repair (#1299)
If there are only 3 backends and replication num is 3. If one replica of a
tablet is bad, there is no 4th backend for tablet repair. So we need to delete
a bad replica first to make room for new replica.
2019-06-14 20:28:29 +08:00
c8d7b8e1c4 Fix bug that FE web frontend can not get static resource files (#1312) 2019-06-14 20:12:57 +08:00
b002ba04d9 Fix the error of duplicated label (#1303) 2019-06-14 14:13:38 +08:00
8d87e36ff8 Place _init_seek_columns() in right place (#1302) 2019-06-13 20:54:45 +08:00
212c8f8c9b Add thirdparty lib (#1286)
* Add bitshuffle and croaring lib
2019-06-13 17:24:01 +08:00
a04cf3a695 Fix bug that get_json_function may not be able to get result (#1295)
std::string object is unexpectly deconstructed, cause invalid result.
and Change log level
2019-06-13 12:58:47 +08:00
a8900d102d Change defalut value to NOT NULL when creating table (#1293) 2019-06-12 18:28:11 +08:00
6be806aa39 Fix creating rollup bug from multi SegmentGroups generated streaming … (#1287)
In streaming load, one version will generate multi SegmentGroups.
Upon creating rollup, the previous code only check version exists or not.
Instead, every SegmentGroup should be checked independently.
2019-06-12 16:21:14 +08:00
5dea4fb414 Add description of strict mode in decimal type (#1288) 2019-06-12 16:03:57 +08:00
e9b2d30c6a Add faststring and cpu util (#1281) 2019-06-12 14:00:50 +08:00
c17c5ca5c4 Add OrdinalPageIndex and EncodingInfo (#1282) 2019-06-12 10:26:45 +08:00
029c3dc920 Update README.md (#1284)
Update the docker dev env images version
2019-06-12 09:24:37 +08:00
8b79abcaba Support setting exec_mem_limit in ExportJob (#1280) 2019-06-11 21:05:45 +08:00
ccf2e5bb9e Add page api for new format segment (#1270) 2019-06-11 10:37:16 +08:00
922fa28097 Add common and options for new format segment (#1269) 2019-06-11 09:34:58 +08:00
0900ab853f Add pb define for new format segment (#1268) 2019-06-11 09:34:32 +08:00
9d7f99a669 Add new file format design markdown (#1267) 2019-06-11 09:34:06 +08:00
84632cd062 Add BitMapIterator (#1277) 2019-06-11 09:23:02 +08:00
53062122ea Change strategy of incorrect data (#1255)
This change adds a load property named strict_mode which is used to prohibit the incorrect data.
When it is set to false, the incorrect data will be loaded by NULL just like before.
When it is set to true, the incorrect data which belongs to a column without expr will be filtered.
The strict_mode is supported in broker load v2 now. It will be supported in stream load later.
2019-06-10 20:39:45 +08:00
6a54464ee8 Fix bug that NullPredicate is not correctly handled by partition pruning (#1276) 2019-06-10 20:11:42 +08:00
2efd5a4d86 Fix bug: FE pid file has wrong content(#1273)
For example, we start the process for the first time. The pid is 12345. Due to the accident, the process is killed and the fe.pid exists. Then we start the process for the second time. The pid is 6789. The fe.pid shows 67895 , Because file.write only cover the first four digits. This case can happen easily when we use supervise. Then I add the file.setLength(0) and delete the old data.
2019-06-10 17:29:04 +08:00
8cd29d194e Fix += decimal error (#1272)
This change fix the +=decimal error when integer is zero or fraction is zero.
In this situation, the += operator will make a mistake.
2019-06-10 16:30:57 +08:00
038ddcfa0b Set timeout configuration for stream load (#1271) 2019-06-10 15:51:58 +08:00
d1b1fce92f Change LICENSE file (#1265) 2019-06-09 15:55:46 +08:00
3e1c70d1b7 Add coding function (#1264) 2019-06-08 21:02:31 +08:00
e4e04e8203 Make LZO support optional (#1263) 2019-06-07 22:26:54 +08:00
ff0dd0d2da Support SSL authentication with Kafka in routine load job (#1235) 2019-06-07 16:29:01 +08:00
cb91e15f1e Modify UDF docs (#1260) 2019-06-06 15:47:10 +08:00
934ca2481a Make MySQL support optional (#1248) 2019-06-05 12:28:15 +08:00
ece34fb838 Make hll function backward compatibility (#1251) 2019-06-05 11:12:36 +08:00
f424321625 Fix IllegalArgumentException in LoadManager (#1240) 2019-06-04 22:23:13 +08:00
6ce8087916 Fix bug that RowCusor do NOT match with RowBlock's layout (#1249) 2019-06-04 22:20:10 +08:00
9f5f44ec48 Reduce memory RowBlock needed (#1238)
Before RowBlock will reserve memory for all columns in schema, even if
it is not queried. Which will cause bad performance when quering wide
table.

In this patch, RowBlock will reserve memory for needed columns. In a
case, this reduce ConvertBatchTime from 10s to 60ms when quering a wide
table who has 178 columns.

 #1236
2019-06-04 12:58:41 +08:00
bedd94dca2 Upgrade brpc to 0.9.5 (#1243)
Change some ut
2019-06-04 11:13:23 +08:00
ae75e44e05 fixup leak memory (#1244)
When I declared that the compilation mode was BUILD_TYPE=LSAN, there was a memory leak after running doris.

be.out:
Direct leak of 32816 byte(s) in 1 object(s) allocated from:
    #0 0x1089666 in __interceptor_malloc ../../../../libsanitizer/lsan/lsan_interceptors.cc:53
    #1 0x7ff459547280 in __alloc_dir (/lib64/libc.so.6+0xc0280)

SUMMARY: LeakSanitizer: 32816 byte(s) leaked in 1 allocation(s).
2019-06-04 11:07:37 +08:00
6231fe0abc Fix FragmentMgrTest crash sometimes (#1232) 2019-06-01 18:10:24 +08:00
741539de91 Release udf headers & lib (#1231)
remove internal headers from udf.h
release udf headers & lib
2019-05-31 17:47:41 +08:00
7cdaba66dc Add spatial func (#1213)
Support some spatial functions, such as ST_Contains.
2019-05-31 14:23:09 +08:00
c20d62679e Add negative load from StreamLoad (#1227) 2019-05-31 07:14:06 +08:00
dc0cd5fd67 Fix the bug of += decimal in olap engine (#1226)
* Fix the bug of += decimal in olap engine
[ISSUE-1225] This change fix the olap engine bug of decimal agg. Using ^ instead of * to judge result is less then zero.
The result of * will be less then zero when the result is overflow. So the answer of += is incorrect.
2019-05-31 07:12:22 +08:00
309b779a7d Check colocate table name should be case-sensitive (#1224) 2019-05-30 22:47:22 +08:00
180d8e5cbd Modify some thirdparties (#1228)
1. Change Kafka java client from 2.0.0 to 0.10.1.1. Because high version client may not support low server server.
2. Enable SSL in librdkafka
2019-05-30 21:23:37 +08:00
fa4ac9f751 Replay GlobalVariable by Annotation (#1219) 2019-05-29 19:21:42 +08:00
319c71f69f Remove unnecessary import sun.security.ssl.Debug (#1215) 2019-05-29 12:35:20 +08:00
f648bdd968 Fix datediff function (#1208) 2019-05-28 15:55:31 +08:00
9d19c6c315 Support arbitrary kafka properties (#1204) 2019-05-28 10:03:50 +08:00
5ca2805701 Add some date time function doc (#1206) 2019-05-27 17:36:09 +08:00
08c8caeacf Add max cache size to ClientCache in BE (#1202)
Currently, unlimited client cache pool may cause too many connections in FE
2019-05-24 22:02:09 +08:00