Commit Graph

7563 Commits

Author SHA1 Message Date
8d17eea22b [pipeline](mysqlscan) support mysql scan node (#14949) 2022-12-09 16:25:29 +08:00
8c02f19302 [chore](regression) use correct bucket path in regression conf (#14960) 2022-12-09 16:20:27 +08:00
0aa32ec1af [typo](docs)optimize the BE config document (#14957) 2022-12-09 16:05:15 +08:00
9d96242242 [typo](docs)optimize the FE config document (#14899)
* optimize the FE config document
2022-12-09 16:04:49 +08:00
93b281b44b [feature](Nereids) support select except syntax (#14851)
Support syntax: select * except(v1, v2) from t;
2022-12-09 15:54:26 +08:00
b213ce6ffd [Bug](pipeline) Fix double prepare on pipeline engine (#14959) 2022-12-09 14:35:34 +08:00
873b128fde [feature](pipeline) add inersect/except operators (#14868) 2022-12-09 14:13:48 +08:00
5a1c7f6314 [improvement](analytic) improve memory counter (#14890) 2022-12-09 14:13:17 +08:00
ec24a56956 [Exec][Pipeline] Remove AggContext's lock (#14901)
* [Exec][Pipeline] Remove AggContext's lock

* fix lock location
2022-12-09 14:11:28 +08:00
9d36931038 [Refactor](NLJ) refactor the nested loop join node (#14911)
* [Refactor](NLJ) refactor the nested loop join node

* change the logic of alloc/release resource
2022-12-09 14:10:26 +08:00
dffa3c0db2 [enhancement](memory) Support query memroy overcommit #14948
Add conf enable_query_memroy_overcommit

If true, when the process does not exceed the soft mem limit, the query memory will not be limited; when the process memory exceeds the soft mem limit, the query with the largest ratio between the currently used memory and the exec_mem_limit will be canceled.

If false, cancel query when the memory used exceeds exec_mem_limit, same as before.
2022-12-09 14:09:05 +08:00
00f44257e2 [feature-wip](file-reader) Merge hdfs reader to the new file reader (#14875) 2022-12-09 13:21:59 +08:00
20f2abb3d4 [vectorized](pipeline) support assert num rows operator (#14923) 2022-12-09 09:39:29 +08:00
b311ebef6c [pipeline](refactor) do some refactor for code and comments (#14934) 2022-12-09 09:08:28 +08:00
3209e49541 [Regression](pipeline) remove ssb test for pipeline (#14953) 2022-12-09 09:08:09 +08:00
1140092211 [docs](jdbc catalog) add docs for jdbc catalog (#14924) 2022-12-09 08:57:39 +08:00
5768118bfa [Improvement](multi-catalog) add show create catalog stmt (#14938) 2022-12-09 08:56:55 +08:00
41eafa5e9d [fix](aggregate) agg table and unique table get different result when… (#14822)
Signed-off-by: nextdreamblue <zxw520blue1@163.com>
2022-12-08 22:54:36 +08:00
1fcf6475cf [improvement](multi-catalog)Support invalid/not invalid option for refresh catalog and db. (#14922)
Current refresh catalog/db operation always invalid all the related cache. In some cases, it is not necessary,
for example, create a new db in external data source. This pr is to support refresh without invalidate cache.

refresh catalog hive properties("invalid_cache" = "false");
refresh database hive.db1 properties("invalid_cache" = "false");
2022-12-08 20:38:07 +08:00
e8becaa562 [refactor](resource) unified resource user interface (#14842)
At present, there are multiple user interface to access hdfs and s3.
Each interface has its own configuration and is different, which causes confusion for users.
Create resource already supports remote storage resources and resource permission management,
but only `spark`/`odbc_catalog` are in use.
Cloud  storage resources need to be created and managed uniformly through create resource.

This PR contains the following changes:

1. Add `s3`, `hdfs` and `hms` resource, and each resource contains it's own configuration items, and delete configuration items scattered in other classes.

2. Use `resource` to create `storage` tools, and use `storage` tools to access the remote file system.
2022-12-08 20:37:10 +08:00
244bf84483 [improvement](docs) add docs for alter catalog stmt (#14789) 2022-12-08 19:46:58 +08:00
b3b493fdef [typo](docs)Java udf and Jdbc doc fix (#14927)
* java udf doc fix
2022-12-08 18:24:27 +08:00
c0b764e419 [fix](schemachange) fix the schema change that causes the be core dump. (#14804)
* [fix](schemachange) fix the schema change that causes the be core dump.

Forbid schema change to add or modify the key column of the agg model as double or float.
2022-12-08 17:36:54 +08:00
Pxl
375e0e08ca [Bug](predicate) fix ccore dump on varchar with in list predicate (#14881)
* fix ccore dump on varchar with in list predicate

* update case

* Update sqlsmith01.sql
2022-12-08 17:14:23 +08:00
562fb6db83 [fix](Nereids) event channel dead loop until queue is not empty (#14816) 2022-12-08 15:55:09 +08:00
0c817e6b3a [Pipeline](hashjoin) Support hash join on pipeline engine (#14898) 2022-12-08 15:43:02 +08:00
1887881a61 [feature](Nereids) support push down no group agg to olap scan (#14683)
use zonemap to do aggregate without group by exprs.
valid aggregate function:
- count
- min
- max

implementation in legacy planner: #12881
2022-12-08 15:34:39 +08:00
2fb896d916 [feature](nereids) Support using join syntax (#14784) 2022-12-08 15:22:41 +08:00
Pxl
dbaa02d3a0 [Pipeline](fix) fix enable_pipeline_engine variable not work (#14909) 2022-12-08 14:52:52 +08:00
4c5ddf70db [bugfix](conf) remove useless conf (#14918) 2022-12-08 14:11:15 +08:00
be3f3978c8 [enhancement](test) remove sf1DataPath conf from regression-conf.groovy (#13861) 2022-12-08 11:24:25 +08:00
e62cc2ce76 [minor](typo) Fix typo (#14903) 2022-12-08 10:50:45 +08:00
27c8147a2b [fix](multi-catalog) use last used database for catalog when switch back (#14793)
remember last used database of every catalog and use it when switch back
2022-12-08 10:32:30 +08:00
962810b973 [Vectorized](jdbc) add check type for jdbc table (#14501) 2022-12-08 10:27:47 +08:00
56cc777087 [fix] 'SHOW ROLES' statement does not display resource privilege (#14812) (#14897) 2022-12-08 10:22:09 +08:00
167a20a03b [Minor](Planner): remove redundant SessionVariable (#14818) 2022-12-08 08:33:07 +08:00
6d6de0d408 [fix](multi-catalog) check new catalog name is used or not before rename (#14891) 2022-12-07 21:54:44 +08:00
0bc6f91c3a [Improvement](multi catalog)Add comment to external hms table show create table output. (#14861)
The output of show create table comment for hms external table doesn't contain comment section.
This pr is to add the comment to the output.
2022-12-07 21:12:30 +08:00
dfb02a7104 [refactor](statistics) Remove deprecated statistics related codes (#14797) 2022-12-07 20:41:00 +08:00
a3095e29d5 [fix](nereids)translate is not null predicate mistake (#14866)
the 'is not null' predicate is not translated correctly in ExpressionTranslator
2022-12-07 20:14:13 +08:00
6a26435e8d [bugfix](compaction) fix promotion size bug (#14836) 2022-12-07 18:54:30 +08:00
204ab4c951 [enhancement](compaction) add some trigger and delete useless log (#14796)
1.add a vertical compaction segment file size config, make it more
flexible to set segment file size
2.add a config to close skip tablet compaction. If current skip logic
has some bug so we can still use old logic
3.delete some useless log
2022-12-07 18:53:55 +08:00
6b44039d58 [release notes](docs)release notes 1.2.0 (#14894) 2022-12-07 18:53:34 +08:00
dfa58e7985 [improvement](config) update high_priority_flush_thread_num_per_store default value to 6 (#14775) 2022-12-07 15:31:00 +08:00
Pxl
f33dd079b9 [Chore](clang-tidy) remove misc-unused-parameters check #14801 2022-12-07 15:30:46 +08:00
ec2539e2a3 [chore](macOS) Resolve the issue with missing python program (#14864) 2022-12-07 15:30:12 +08:00
Pxl
48a9166aa4 [Pipeline](sink) support olap table sink operator (#14872)
* support olap table sink operator

* update config
2022-12-07 15:29:56 +08:00
cdbbf1e4ee [enhancement](memory) Add Memory GC when the available memory of the BE process is lacking (#14712)
When the system MemAvailable is less than the warning water mark, or the memory used by the BE process exceeds the mem soft limit, run minor gc and try to release cache.

When the MemAvailable of the system is less than the low water mark, or the memory used by the BE process exceeds the mem limit, run fucc gc, try to release the cache, and start canceling from the query with the largest memory usage until the memory of mem_limit * 20% is released.
2022-12-07 15:28:52 +08:00
a078a0d602 [test](catalog)add some emr hive case (#14848) 2022-12-07 14:41:57 +08:00
6b5e10c8be [fix](agg)having clause should use alias if there is no group by clause (#14831) 2022-12-07 14:13:17 +08:00