Commit Graph

2174 Commits

Author SHA1 Message Date
c7a04fa05a [improvement](JDBC Catalog)Added Presto connection to Presto/Trino (#19307) 2023-05-08 14:05:56 +08:00
1e5000c9b2 [typo](docs) fix err to mac local dev doc (#19367) 2023-05-08 14:05:33 +08:00
e78149cb65 [Enhencement](Export) add property for outfile/export and add test (#18997)
This pr does three things:
1. add `delete_existing_files` property for outfile/export. If `delete_existing_files = true`, export/outfile will delete all files under file_path first.
2. add p2 test for export
3. modify docs
2023-05-08 14:02:20 +08:00
05c5c5949c [refactor](FileCache) set FE session variable enable_file_cache=false as default (#19327)
Users should set `enable_file_cache=true` in FE session variables and BE configuration to enable file cache.
2023-05-08 13:53:51 +08:00
9203e0392f [typo](docs) add mac local dev docs (#19342)
* [typo](docs) add mac local dev docs
2023-05-06 22:58:40 +08:00
5bf1396efe [enhancement](load) merge single-replica related services as non-standalone (#18421) 2023-05-06 22:54:56 +08:00
f584ad52ca [UDF](demo) add new demo code for java udf (#19276) 2023-05-06 16:17:54 +08:00
ff6e0d3943 [Improvement](meta) support return no partition info for show_create_table (#19030)
Some tables have a mount of partitions, when use show create table stmt on them,
you will get so many lines of result that a whole screen cannot  show them all, even if you scroll up to the top.

show create table table2;
| table2 | CREATE TABLE `table2` (
  `k1` int(11) NULL COMMENT 'test column k1',
  `k2` int(11) NULL COMMENT 'test column k2'
) ENGINE=OLAP                                        
DUPLICATE KEY(`k1`, `k2`)
COMMENT 'test table1'          
PARTITION BY RANGE(`k1`)           
(PARTITION p01 VALUES [("-2147483648"), ("10")),
PARTITION p02 VALUES [("10"), ("100"))) 
 DISTRIBUTED BY HASH(`k1`) BUCKETS 1
PROPERTIES (                                                                                                                        
"replication_allocation" = "tag.location.default: 1",
"storage_format" = "V2",
"light_schema_change" = "true",
"disable_auto_compaction" = "false"
);


show brief create table table2;
| table2 | CREATE TABLE `table2` (  `k1` int(11) NULL COMMENT 'test column k1',
  `k2` int(11) NULL COMMENT 'test column k2'
) ENGINE=OLAP
DUPLICATE KEY(`k1`, `k2`)
COMMENT 'test table1'
DISTRIBUTED BY HASH(`k1`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"storage_format" = "V2",
"light_schema_change" = "true",
"disable_auto_compaction" = "false"
); |
2023-05-06 14:45:08 +08:00
1223f81228 [doc](flinkconnector) fix english doc #19315
Co-authored-by: wudi <>
2023-05-06 12:04:26 +08:00
34228ba805 [doc](release note) add 2.0.0 alpha1 release note (#19286) 2023-05-05 18:06:25 +08:00
70236adc1f [Refactor](doc)(config)(variable) use script to generate doc for FE config and session variables (#19246)
The document of configs(FE and BE) and session variables is hard to maintain.
Because developer need to modify both code and document.
And you can see that some of config's document is missing.

So I plan to write the document of config or variables directly in code, and using
script to generate document automatically.

How To
This CL mainly changes:

Add field in Config and Session Variables' annaotion

description: The description of the config or variable item. It is a String array. And first element is in Chinese, second is in English
options: the valid options if the config or variable is enum.
Add a scripts docs/generate-config-and-variable-doc.sh

Simple run sh docs/generate-config-and-variable-doc.sh and it will generate docs of FE config and variables,
And save it under docs/admin-manual/config/fe-config.md and docs/advanced/variables.md,
both in Chinese and in English.

And there are template markdowns for this script to read and replace with real doc content.

TODO
Too many description need to be filled. I will finish them in next PR. And now the origin doc remain unchanged.
Find a way to check the description field of config and variables, to make sure we won't missing it.
Generate doc for BE config.
2023-05-05 14:42:43 +08:00
525ede54cb [doc](fix)fix array_map doc tag wrong #19249 2023-05-05 12:44:46 +08:00
44d95aa3d9 [typo](docs)add new attention of str_to_date function (#19264) 2023-05-05 09:40:06 +08:00
52d25f41a4 [feature](multi-catalog) Rename multi-catalog config 'specified_database_list' to 'include_database_list', and introduce new multi-catalog config 'exclude_database_list' (#18834)
In my scene, We need to specify databases that are excluded to synchronize to doris,
like some databases store temporary table.
Since #17803 introduce `specified_database_list` to specify 'include databases',
this pr introduce new config `exclude_database_list` to specify 'exclude databases',
and rename `specified_database_list` to `include_database_list` for naming symmetry.

BTW, when `include_database_list` and `exclude_database_list` specify overlapping databases, `exclude_database_list` would take effect with higher privilege over `include_database_list`.
2023-05-04 09:30:02 +08:00
9d18be9dd3 [doc](thrift) update doc for thrift 0.16 (#19217)
* 1

update doc for thrift 0.16
2023-05-02 16:00:10 +08:00
224bca3794 [docker](hudi) add hudi docker compose (#19048) 2023-05-02 09:54:52 +08:00
bee3aa3007 be conf action supports specify item (#19159) 2023-04-28 19:12:51 +08:00
b87d21d836 [doc](spark-load)add spark load ha EN docs (#19194)
* 15000-doc-spark-ha  english doc

* Update spark-load-manual.md format

---------

Co-authored-by: liujh <liujh@t3go.cn>
Co-authored-by: Luzhijing <82810928+luzhijing@users.noreply.github.com>
2023-04-28 18:18:42 +08:00
43e70ab252 [chore](recover) add a config to recover remaining data in emergency (#18986) 2023-04-28 17:42:00 +08:00
365ac54102 [doc](fqdn)fqdn doc cn (#19179)
* fqdn doc cn

* Update fqdn.md format

---------

Co-authored-by: Luzhijing <82810928+luzhijing@users.noreply.github.com>
2023-04-28 17:26:49 +08:00
48c4679019 [doc] fix broken link in docs (#19175) 2023-04-28 14:29:14 +08:00
Pxl
ec517a53a8 [Chore](build) upgrade clang-format version to 16 && move thrift to fe-common (#19155)
upgrade clang-format version to 16
move thrift to fe-common
fix core dump on pipeline engine when operator canceled and not prepared
2023-04-28 14:14:51 +08:00
ffe27baeaf [FAQ](docs) add a FAQ about hive catalog occurring UnknownHostException (#19182)
[FAQ](docs) add a FAQ about hive catalog occurring UnknownHostException (#19182)
2023-04-28 13:50:24 +08:00
5e9c0c3500 [Enhancement](data-type) add FE config to prohibit create date and decimalv2 type (#19077)
* prohibits date and decimal type

* add config in test
2023-04-28 11:31:51 +08:00
86be6d27e7 [Enhencement](Cancel Export) Cancel export support to cancel IN_QUEUE state export job (#19058) 2023-04-28 09:27:23 +08:00
745f29f557 [typo](doc) add version label (#19148) 2023-04-27 23:22:24 +08:00
dfa3fd1bcf Update CHAR.md (#19154) 2023-04-27 23:22:09 +08:00
4aa4abebe7 15000-doc-spark-ha (#19153)
Co-authored-by: liujh <liujh@t3go.cn>
2023-04-27 23:21:41 +08:00
e0ca4e061b Update CHAR.md (#19156) 2023-04-27 23:21:26 +08:00
72799622e1 [typo](docs) Supplementary explanation on the hint section of insertSupplementary explanation on the hint section of INSERT.md (#19171) 2023-04-27 23:21:01 +08:00
027bd3f998 doc style fix (#19158) 2023-04-27 21:30:03 +08:00
f3f0496b99 [feature](multi-catalog) support oceanbase jdbc catalog and jdbc external table (#18943)
* [feature](multi-catalog) support oceanbase jdbc catalog and jdbc external table
2023-04-27 17:14:48 +08:00
a9480bdcf3 [doc](fix)Unified JSON format (#19147) 2023-04-27 14:59:18 +08:00
2727ad14cd [typo](docs)Optimize the query acceleration directory structure (#19113) 2023-04-27 14:08:48 +08:00
ce5dd43a6a [doc](fix)load json doc add through S3 table function load #19141 2023-04-27 14:08:21 +08:00
30b737059c [typo](docs)release 1.2.4.1 (#19139) 2023-04-27 13:13:18 +08:00
20395ce501 [feature](array_function): add support for array_cum_sum function (#18231) 2023-04-27 09:57:13 +08:00
965682542d [typo](docs)add hive catalog faq (#19081)
* add hive catalog faq

add hive catalog faq

* fix
2023-04-26 21:13:46 +08:00
0c60f0e266 fe conf action spec item (#18916) 2023-04-26 17:54:00 +08:00
ca19b972cc [doc](update-key)add update key doc (#18899) 2023-04-26 13:41:14 +08:00
5a7a96f317 [doc](fix)fix doc link error (#19083) 2023-04-26 12:33:13 +08:00
1be5dac036 [improve] Refactor file cache and Improve the file cache strategy (#18652)
1. Refactor file cache. Before refactor, the file cache config format is "[{"path":"/path/to/file_cache","normal":21474836480,"persistent":10737418240,"query_limit":10737418240}]" and now change to "[{"path":"/mnt/disk3/selectdb_cloud/file_cache","total_size":21474836480,"query_limit":10737418240}]". It will be simpler than before.
2. Support more strategy. Support file cache priority. The file cache will have three queue,  name as 'index'/'normal'/'disposable'. We can avoid that the higher priority data is eliminate by the lower priority data.
2023-04-25 23:14:28 +08:00
9c25b514f5 [fix](doc) fix jsonb_extract doc (#19059)
This will cause FE start fail

1. docs under sql-manual need strict format.
2. Change the rule of github checks, to run FE ut if docs under sql-manual is changed
2023-04-25 20:01:51 +08:00
41fbe711b0 [typo][samples](docs)(java) add read bitmap sample and update document. (#19005) 2023-04-25 19:07:51 +08:00
7c9e6e6ad5 [typo](docs) format function Syntax desc (#19019) 2023-04-25 13:31:32 +08:00
4ef43f5374 [improvement](docs) Add sync statement docs (#18972) 2023-04-25 10:35:20 +08:00
fd4576e420 [Fix](auth) fix some problem of skip_localhost_auth_check in FE config #18996 2023-04-25 09:10:01 +08:00
bf75e74065 [typo](docs) add oceanbase jdbc catalog doc (#18994)
* [typo](docs) add oceanbase jdbc catalog doc

* fix
2023-04-25 08:50:31 +08:00
8e808abbd4 [doc](remove-useless-code)remove useless doc description #18957
Co-authored-by: journeychen <journeychen@tencent.com>
2023-04-25 08:49:24 +08:00
6b219ab599 [typo](doc) add declaration of row level auth policy #18959 2023-04-24 14:27:45 +08:00