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
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
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
ad6a356a84
[fix](audit) fix duplicate audit log. ( #14246 )
...
fix duplicate audit log.
2022-12-07 13:54:21 +08:00
789f1d4e3e
Fixed label_clean_interval_second's incorrect default value ( #14869 )
2022-12-07 12:47:55 +08:00
c78feea309
[docs](readme)updata the 1.2.0 release ( #14865 )
2022-12-07 12:46:32 +08:00
9d2cb133f2
[fix](jdbc) fix logger error of statusLogger unrecognized ( #14854 )
...
* [fix](jdbc) fix logger error of statusLogger unrecognized
* update
2022-12-07 11:43:05 +08:00
3286fb48ab
[fix](if) fix coredump of if const ( #14858 )
2022-12-07 09:43:10 +08:00
e40da670b5
[chore](macOS) Fix the compilation errors when building third party libraries ( #14813 )
2022-12-07 08:48:06 +08:00
df2b190559
[pipeline](dategen) Support datagen node ( #14835 )
2022-12-07 08:47:35 +08:00
7c56b60596
[typo](docs)delete the offline fe parameters #14860
2022-12-07 08:46:25 +08:00
9e51e0263d
[fix](memory leak) Fix load fragment QueryFragmentsCtx is not destroyed ( #14840 )
2022-12-07 08:45:53 +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
1304185adb
[Regression](Fix) fix the regression of pipeline and ConcurrentModificationException failed ( #14849 )
...
* [fix](ut) try to fix ConcurrentModifycationException bug
* [Regression](Fix) fix the regression of pipeline and ConcurrentModificationException failed
Co-authored-by: morningman <morningman@163.com >
2022-12-06 15:34:32 +08:00
3e911a05b1
[fix](fe)fix select from temporary partition bug ( #14809 )
2022-12-06 14:32:35 +08:00
fb78807430
[Exec](Profile) Register to Fetch Result time and Write Result time in FE to debug ( #14832 )
2022-12-06 14:32:18 +08:00
e578e2cd98
[Enhancement](Nereids) Explain display extra information ( #14802 )
...
# Proposed changes
Issue Number: close #14554
## Problem summary
1. provide a function **Plan.extraPlans** that returns extra plans, eg: LogicalSubQueryAlias in LogicalCTE.
2. combine the extra plans and the children in the AbstractPlan.treeString(), distinguished by the * at the beginning.
```
========== PARSED PLAN ==========
LogicalCTE ( aliasQueries=[LogicalSubQueryAlias ( alias=s )] )
|-*LogicalSubQueryAlias ( alias=s )
| +--LogicalProject ( projects=['s_suppkey] )
| +--LogicalFilter ( predicates=('s_suppkey = '') )
| +--LogicalCheckPolicy ( child=UnboundRelation ( nameParts=supplier ) )
| +--UnboundRelation ( nameParts=supplier )
+--LogicalProject ( projects=[*] )
+--LogicalJoin ( type=CROSS_JOIN, hashJoinConjuncts=[], otherJoinConjuncts=[] )
|--LogicalSubQueryAlias ( alias=t1 )
| +--LogicalCheckPolicy ( child=UnboundRelation ( nameParts=s ) )
| +--UnboundRelation ( nameParts=s )
+--LogicalSubQueryAlias ( alias=t2 )
+--LogicalCheckPolicy ( child=UnboundRelation ( nameParts=s ) )
+--UnboundRelation ( nameParts=s )
```
2022-12-06 12:28:40 +08:00
1484de9f4f
add release notes ( #14845 )
2022-12-06 11:22:24 +08:00
fcea89bcf4
[fix](const_expr) fix coredump caused by unsupported cast const expr ( #14825 )
2022-12-06 10:31:15 +08:00
0a33508d3b
[chore](regression) add S3 config in conf file and change sf1DataPath #14815
2022-12-06 10:00:50 +08:00
e279c90965
[fix](ColumnVector) ColumnVector::insert_date_column crashed #14839
...
ColumnVector::insert_date_column make BE crashed with large data(>512 rows).
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-12-06 09:06:57 +08:00
32a33c5119
[Enhancement](docs) Added grouping sets syntax for group by. ( #14805 )
2022-12-06 00:20:08 +08:00
07472f7318
[fix](tcmalloc_gc) optimize policy of tcmalloc gc ( #14776 )
...
Release memory when memory pressure is above pressure limit and keep at lease 2% memory as tcmalloc cache.
2022-12-05 21:16:35 +08:00
db4524c10e
[Bug](date function) Fix date_add function ( #14826 )
2022-12-05 20:34:20 +08:00
b30cd86e9e
[Refactor](pipeline) Refactor operator and builder code of pipeline ( #14787 )
2022-12-05 18:35:00 +08:00
382d35c7e1
[fix](runtime profile) Fix HighWaterMarkCounter update max Bug #14769
2022-12-05 18:22:48 +08:00
8726bfa121
[enhancement](memory) Add tablet schema cache metrics ( #14742 )
2022-12-05 18:19:13 +08:00
016e47b857
[refactor](date function) simplify function template arguments ( #14814 )
2022-12-05 17:59:47 +08:00
1190fd4cd6
[Pipeline](regression) Add ssb flat for pipeline ( #14763 )
2022-12-05 15:05:23 +08:00
8c0e13ab51
[improvement](profile) add detail memory counter for exec nodes ( #14806 )
...
* [improvement](profile) improve accuraccy of memory usage and add detail memory counter
* fix
2022-12-05 11:51:52 +08:00
58bc254529
[enhancement](BE)add metric for too many version ( #14735 )
...
* add one funciton to get if exceeds version limit
add bvar to indicate version exceed
* resolve
* remove unnecessary header file
2022-12-05 11:37:14 +08:00
494dba6c2b
[improvement](fix) return only if all sqls inside one sql file run out ( #14791 )
2022-12-05 10:18:45 +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