Commit Graph

8276 Commits

Author SHA1 Message Date
1ff1722d93 Fix the core in dpp sink by sum of int128 (#1412) 2019-06-28 23:30:33 +08:00
5c1b4f641e Add report version for publish task (#1401) 2019-06-28 20:15:08 +08:00
4747bed306 Add rle page (#1379) 2019-06-27 22:25:19 +08:00
f8ec3d90d0 Add some field for extrernal service (#1403) 2019-06-27 22:10:33 +08:00
b17d1c5348 Fix a bug of v2 ColumnReader when reading not-null column (#1398) 2019-06-26 22:58:30 +08:00
7cb3c95330 Modify some method for external invoking and add extra sink (#1383) 2019-06-26 19:11:43 +08:00
756a680143 Add a website builder of Doris documentations (#1396)
The build script locates in docs/website.
Built with Sphinx using a theme provided by Read the Docs.
2019-06-26 19:10:39 +08:00
24a46a4552 Fix column nullable property in show create table stmt result (#1381)
Since the default nullable of a column changed to NOT NULL,
result of show table stmt should show the correct nullable property
of a column.
2019-06-26 18:55:27 +08:00
edeac1a339 Fix publish version task timeout (#1380)
Publish version task using wrong timeout config.
2019-06-26 12:27:25 +08:00
e046f7b05a Add plain page (#1341) 2019-06-26 00:50:50 +08:00
566e122c0d Optimize Export feature (#1378)
1. Add 'timeout' properties in Export stmt.
2. Add more infos in 'show export' stmt.
3. Add more logs for debug.
2019-06-26 00:20:53 +08:00
adba5249c4 Add dayofweek function (#1376) 2019-06-25 21:37:42 +08:00
e807064a88 Modify colocation creation logic (#1289) 2019-06-25 21:20:18 +08:00
51b2c1d5b2 Add some function doc (#1377) 2019-06-25 21:02:42 +08:00
22873d4f41 Add tablet version and descriptor table for query paln (#1373) 2019-06-25 20:57:15 +08:00
4f416b7e21 Fix the core of mini load (#1375)
A new struct named MiniLoadCtx is used to save is_streaming and ctx.
2019-06-25 20:54:58 +08:00
e30844a321 Add column reader writer for segment V2 (#1346) 2019-06-25 16:59:26 +08:00
322de9cd8e Add sql-function doc of cast_to_bigint (#1370) 2019-06-24 19:40:57 +08:00
12db342d8b Fix olap_header destruction error (#1368) 2019-06-24 18:58:18 +08:00
1422414e43 Add varchar column name to stream load error msg (#1366) 2019-06-24 14:52:59 +08:00
9cd0e09457 Fix bug that cast DateLiteral to other types (#1364) 2019-06-24 10:57:25 +08:00
f1717e44c8 Check get_header status returned (#1361)
When performing storage_medium_migration, the header may be already droped.
In this scenario, header returned will be null pointer.
Saving data to a null pointer will cause core dump.
2019-06-23 16:59:07 +08:00
9f7a335d02 Increase the timeout of publish version task when doing alter job (#1359)
The previous setting of timeout of a publish version task is mess.
I change it to a configurable time, default it 30 seconds.

And when the table is under rollup or schema change, I double this timeout.
This a kind of best-effort-optimization. Because with a short timeout,
a replica's publish version task is more likely to fail. And if quorum replicas
of a tablet fail to publish, the alter job will fail.

If the table is not under rollup or schema change, the failure of a replica's
publish version task has a minor effect because the replica can be repaired
by tablet repair process very soon. But the tablet repair process will not
repair rollup replicas.
2019-06-22 14:29:16 +08:00
f4df8ed137 Add Thrift definition for scanning data ability for computing system (#1343) 2019-06-22 14:15:13 +08:00
bc14855f25 Fix FE unit test's failure (#1360) 2019-06-21 22:23:36 +08:00
120e7e9119 Add more UT for FEFunctions (#1344) 2019-06-21 21:54:14 +08:00
6a17f07f97 Fix wrong query result with constant InPredicate (#1357) 2019-06-21 21:48:00 +08:00
3b95867603 Add Checkstyle for doris-fe (#1353) 2019-06-21 21:45:54 +08:00
7550b2f09b Convert mini load to streaming mini load (#1323)
* This commit has brought contribution to streaming mini load
The operation of streaming mini load is sames as previous. Also, user can check the load by frontend.
The difference is that streaming mini load finish the task before reply of REST API while the non-streaming only register a load.

* When updating doris
Updating fe or be firstly are also supported. After fe and be are updated, the streaming mini load will take effect.

* For multi mini load
The non-streaming mini load still has been used by multi mini load. The behavior of multi mini load has not been changed.

* Add a interface named isSupportedFunction
This function is used to protect the correctness of new feature which consists of be and fe during updaing.
2019-06-21 19:34:50 +08:00
687d57be66 Fix bug that query statistics in audit log are wrong (#1354) 2019-06-21 19:16:05 +08:00
ea71277094 Support mysql client 8.0 connection fe (#1349)
for example:
mysql --default-auth=mysql_native_password -P9030 -utest -ptest123456 -hA.B.C.D
2019-06-21 19:15:34 +08:00
4aaeb8789c Fix run-ut.sh failed (#1348) 2019-06-21 10:40:36 +08:00
3024a6675a Fix the broker hang when fe restart (#1338) 2019-06-20 19:44:17 +08:00
0d3c80dd8a Fix bug that function greast and least return wrong type (#1342) 2019-06-20 19:02:10 +08:00
8617e8ef4e open unit tests (#1340) 2019-06-20 15:49:12 +08:00
7f1c3640ed Fix show proc '/jobs/load' stmt for loadv2 (#1335)
* Add streaming job in LoadProc
* Add a config named desired_max_waiting_jobs
1. If the number of pending load jobs is more then desired_max_waiting_jobs, the create load stmt will be rejected.
2. If the number of need_scheduler load jobs is more then desired_max_waiting_jobs, the new routine load job will be rejected.
3. Desired max size is only a expect number, so the size of queue may be more then this number sometimes.

* Merge load manager and load jobs in jobs proc dir
2019-06-20 13:12:12 +08:00
6afedb88a8 Add bitshuffle page (#1304) 2019-06-19 21:57:06 +08:00
e143dd2c1a Modify the max keep time of historical alter jobs (#1334)
Currently, historical alter jobs will keep for a while before being removed.
And this time is configured by label_keep_max_second. Which is also used for
Load jobs.

But to avoid too many historical load jobs being kept in memory,
'label_keep_max_second' always set to a short time, causing alter jobs to be
removed vary soon.

Add a new FE config 'history_job_keep_max_second' to configure the keep time of
alter jobs. Default is 7 days.
2019-06-19 19:41:48 +08:00
5cd4777bb4 Fix bug that if match wrong symbol (#1324) 2019-06-19 09:17:13 +08:00
bad6478d4f Allow chars i,h,s in time_format (#1328) 2019-06-18 19:48:19 +08:00
7f1720b632 Add rle encoding (#1326) 2019-06-18 14:48:33 +08:00
a0294b8f40 Add Env for file operation (#1321) 2019-06-17 10:18:16 +08:00
ba44249f80 Remove unused code (#1320) 2019-06-15 20:41:48 +08:00
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