Commit Graph

1651 Commits

Author SHA1 Message Date
HB
789f1d4e3e Fixed label_clean_interval_second's incorrect default value (#14869) 2022-12-07 12:47:55 +08:00
7c56b60596 [typo](docs)delete the offline fe parameters #14860 2022-12-07 08:46:25 +08:00
4911f9c6a1 [typo](doc)Fix Utility Statements Doc (#14859)
* [typo](doc)Fix Utility Statements Doc
2022-12-07 08:44:40 +08:00
db38e7b6dc [typo](docs)Add array function version number (#14843)
[typo](docs)Add array function version number
2022-12-06 18:09:22 +08:00
5292880310 [refactor](odbc) move param to config (#14596)
move param to config
2022-12-06 17:38:52 +08:00
1484de9f4f add release notes (#14845) 2022-12-06 11:22:24 +08:00
32a33c5119 [Enhancement](docs) Added grouping sets syntax for group by. (#14805) 2022-12-06 00:20:08 +08:00
8a834566d0 [typo](docs) fix schema change DATA_QUALITY_ERROR typo and related error msg (#14773) 2022-12-05 09:50:20 +08:00
852b03729f [Improvement](meta)add IsCurrent column in show catalogs result #14700
When a user has multiple catalogs and switch several times, he may forget which catalog is using. So I add a iscurrent column in show catalogs result for help.

mysql> show catalogs;
+-----------+-------------+----------+-----------+
| CatalogId | CatalogName | Type | IsCurrent |
+-----------+-------------+----------+-----------+
| 136591 | es | es | |
| 130100 | hive | hms | yes |
| 0 | internal | internal | |
+-----------+-------------+----------+-----------+
2022-12-05 08:32:16 +08:00
ce95da8dfb [improvement](multi-catalog) support specify hadoop username (#14734)
Support setting "hadoop.username" property when creating hms catalog.
2022-12-04 21:09:39 +08:00
90e44fdd72 [typo](docs)Documentation 1.2 Feature version annotation (#14795) 2022-12-04 19:12:22 +08:00
3a3c43fe23 [typo](docs)add Doris version information to the head of array function (#14780)
[Docs]add Doris version information to the head of array function
2022-12-04 15:18:02 +08:00
bb2d6addaf [typo](docs)Upgrade 1.2, Java UDF function depends on the installation method (#14785) 2022-12-04 08:53:42 +08:00
15bd56cd43 [Docs]merge memory-management directory into maint-monitor (#14755) 2022-12-02 14:05:48 +08:00
4ef6efb59b [Docs](memory) fix document directory and fix memtracker accuracy bug (#14710) 2022-12-02 11:27:18 +08:00
3dde97bff1 (compaction) opt compaction task producer and quick compaction (#13495) (#14535)
1.remove quick_compaction's rowset pick policy, call cu compaction when trigger
quick compaction
2. skip tablet's compaction task when compaction score is too small

Co-authored-by: yixiutt <yixiu@selectdb.com>
2022-12-02 10:07:44 +08:00
12791f1c79 [opt](docs) Add select except usage in select doc (#14696) 2022-12-01 10:06:17 +08:00
2a3a758c75 [doc](community) update release-verify doc when gpg import (#14706) 2022-12-01 10:04:58 +08:00
9bbbcf031c [enhancement](k8s) Support fqdn mode for be in k8s enviroment (#9172)
In the k8s environment, the ip of the pod can be changed, but the hostname of pod is stable. When the host machine of the pod fails, the k8s can schedule the failed pod to the new host machine for reconstruction. After that, the newly created pod's hostname remains unchanged, and the ip address has been changed. The change of the be node's ip address can be detected by FQDNManager when enable_fqdn_mode is true

Co-authored-by: caiconghui1 <caiconghui1@jd.com>
2022-11-30 20:42:15 +08:00
80baca2643 [Docs](memory) Admin-manual adds mem tracker, memory exceeds limit, OOM analysis (#14419) 2022-11-30 18:02:05 +08:00
ca90253b09 [config](storage-policy) add a FE config to disable storage policy by default (#14655)
the cold-hot separation feature is still
under development. And seems there are some unsolved feature remains.
So I add a fe config enable_storage_policy, and default is false, to disable the creation and usage of storage policy by default.

So that user can aware that he is using an experimental feature on his own, and it will not be released formally in v1.2.0.

Disable storage policy by default, user can not use or create storage policy. Configured by enable_storage_policy.

Remove property remote_storage_policy, it is duplicate with storage_policy

Change the persist field in DataProperty.java.
And remove remoteCooldownTime from DataProperty, because it can be got from StoragePolicy.
2022-11-30 10:04:33 +08:00
dd7ec8f4ca [improvement](test) add tpch1 orc for hive catalog and refactor some test dir (#14669)
Add tpch 1g orc test case in hive docker

Refactor some suites dir of catalog test cases.

And "-internal" for dlf endpoint, to support access oss with aliyun vpc.
2022-11-30 10:03:58 +08:00
33cda9f22a [improvement](planner)support like in show catalogs stmt #14678
Co-authored-by: yuleiyang <yuleiyang@tencent.com>
2022-11-30 08:38:42 +08:00
85ce3c37b5 [fix](DOE) fix ES query dsl is wrong after FE restarted. (#14652)
Some of default properties of ES catalog is not persisted in EditLog. So when FE is restarted,
the default properties is lost, such as `elasticsearch.doc_value_scan`, `elasticsearch.keyword_sniff` and so on.
2022-11-29 17:06:48 +08:00
7a08a799e9 [Vectorized](function) support order by convert_to function (#14555) 2022-11-29 15:22:27 +08:00
Pxl
82da071b45 [Chore](format) update clang-format version to 15 (#13036)
update clang-format version to 15
2022-11-29 14:46:10 +08:00
e1f0fa069c [enhancement](memory) Refactored process memory statistics periodically refresh, and fix catch bad_alloc (#14580) 2022-11-29 10:15:25 +08:00
39dd6682f2 [typo](docs)change the metadata directory from palo-meta to doris-meta #14647 2022-11-29 08:52:55 +08:00
e5e94e128d [docs](macOS) Fix the render (#14643) 2022-11-29 08:22:06 +08:00
8d1d144eed [doc](1.2) add version tag for feature in 1.2 (#14624) 2022-11-28 20:39:53 +08:00
f6154a65a6 [docs](macOS) Add compilation guides for macOS (#14634)
* [docs](macOS) Add compilation guides for macOS

* Add to sidebar
2022-11-28 15:13:50 +08:00
ed92a8f81e [feature](jsonb function)change jsonb_extract_string behavior and doc (#14619)
1. change jsonb_extract_string behavior: convert to string instead of NULL if the type of json path is not string
2. move jsonb tutorial doc to JSONB data type
2022-11-28 11:36:54 +08:00
e17519b00f [docs](docs)Add Docker Image build documentation (#14622)
Add Docker Image build documentation
2022-11-27 22:43:53 +08:00
cf2de85633 [Document](function) add docs of hll_cardinality/hll_empty/hll_hash (#14547) 2022-11-27 13:40:16 +08:00
6b8f1a1a88 [typo](docs) fix four string functions' document issue #14610
Co-authored-by: yuleiyang <yuleiyang@tencent.com>
2022-11-26 19:27:40 +08:00
7486660c12 [feature](Docs) add backends and rowsets docs (#14542)
* add backends and rowsets docs

* fix doc
2022-11-26 12:24:50 +08:00
b9fffe1633 [typo](docs)Modify the array function doc (#14592) 2022-11-25 22:31:05 +08:00
4728e75079 [feature](bitmap) Support in bitmap syntax and bitmap runtime filter (#14340)
1.Support in bitmap syntax, like 'where k1 in (select bitmap_column from tbl)';
2.Support bitmap runtime filter. Generate a bitmap filter using the right table bitmap and push it down to the left table storage layer for filtering.
2022-11-25 15:22:44 +08:00
7ba4cd764a [enhancement](array-function) array_position,array_contains,countequal which in FunctionArrayIndex handle target NULL (#14564)
in the previous, the result is:
```
mysql> select array_position([1, null], null);
+--------------------------------------+
| array_position(ARRAY(1, NULL), NULL) |
+--------------------------------------+
|                                 NULL |
+--------------------------------------+
1 row in set (0.02 sec)
```

but after this commit, the result become:
```
mysql> select array_position([1, null], null);
+--------------------------------------+
| array_position(ARRAY(1, NULL), NULL) |
+--------------------------------------+
|                                    2 |
+--------------------------------------+
1 row in set (0.02 sec)
```
2022-11-25 14:19:50 +08:00
d5d356b17f [vectorized](function) support order by field function (#14528)
* [vectorized](function) support order by field function

* update

* update test
2022-11-25 14:00:46 +08:00
5ccc875824 [fix](recycle) refactor the logic of erase meta with same name (#14551)
in #14482, we implement the feature to keep specific number of meta with same name in catalog recycle bin.
But it will cause meta replay bug.
Because every time we drop db/table/partition, it will try to erase a certain number of meta with same name.
And when replay "drop" edit log, it will do same thing. But the number of meta to erase it based on current config value,
not persist in edit log, so it will cause inconsistency with "drop" and "replay drop".

In this PR, I move the "erase meta with same name" logic to the daemon thread of catalog recycle bin.
2022-11-25 09:47:24 +08:00
bc699511d0 [Fix](array-function) fix array_distinct null values (#14544)
in the previous the result is:
```
mysql> select array_distinct([1,1,3,3,null, null, null]);
+-----------------------------------------------------+
| array_distinct(ARRAY(1, 1, 3, 3, NULL, NULL, NULL)) |
+-----------------------------------------------------+
| [1, 3, NULL, NULL, NULL]                            |
+-----------------------------------------------------+
1 row in set (0.00 sec)
```

after this fix, the result becomes:
```
mysql> select array_distinct([1,1,3,3,null, null, null]);
+-----------------------------------------------------+
| array_distinct(ARRAY(1, 1, 3, 3, NULL, NULL, NULL)) |
+-----------------------------------------------------+
| [1, 3, NULL]                                        |
+-----------------------------------------------------+
1 row in set (0.00 sec)
```
2022-11-24 19:07:28 +08:00
59b31a03c4 [Improvement](agg function) support group_bit_and/group_bit_or/group_bit_xor functions (#14386) 2022-11-24 16:46:42 +08:00
9e39a04b63 [Doc](flink connector) add flink connector faq (#14520) 2022-11-23 21:40:00 +08:00
181f1cf176 [Docs](function) add some missing function docs (#14510) 2022-11-23 21:39:17 +08:00
648fd93dc5 [DOCS](function) add document for grouping and grouping_id (#14472) 2022-11-23 18:07:48 +08:00
09cc385caa [Docs](fucntion) Add docs for function random, mod, fmod (#14444) 2022-11-23 16:22:57 +08:00
Pxl
672d3b8334 [Document](function) update document of to_base64/from_base64 #14487 2022-11-23 14:04:53 +08:00
79688c34a1 [feature](catalog) add max num of same name meta information in catalog recycle bin (#14482) 2022-11-23 14:04:14 +08:00
wxy
9d165c6bba [docs](fe.conf) add configuration for decommission_tablet_check_threshold. (#14355) 2022-11-23 12:58:52 +08:00