This is an automated email from the ASF dual-hosted git repository.
morningman pushed a change to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
from 487eaed481 [branch1.2](clang-format) upgrade clang format version to
16 and fix code format
new 579a0890c9 [fix](jdbc catalog) fix trino jdbc catalog varchar type err
(#19298)
new 6b63d6901b [log](fe)add log partitionInfo is null, fe not start
service (#19143)
new ffdfdf8b4e [fix](gson) avoid gson serde with EsRepository (#19385)
new 9c4a8b4671 [Feature](multi-catalog) support query hive views. (#18815)
new 47b2097dd0 [Fix](multi-catalog) Fix sync hms event failed when start
FE soon. (#19344)
new 101db75276 [fix](bdbje) remove `System.exit(-1)` in
BDBEnvironment.close() (#19335)
new a5248479ec [fix](jdbc catalog) fix error to clickhouse uint64 type
Conversion (#19463)
new ceb9074b5a [improvement](auth)only GRANT_PRIV and USAGE_PRIV can GRANT
for RESOURCE #19547
new 790b63932e [fix](mow) revert 17147 and 18750 (#19583)
new d65f137a26 [fix](row-policy) row policy supports external catalog
(#19570)
new 94fbd3ae16 [fix](planner)just return non-empty side of
ExprSubstitutionMap if one of ExprSubstitutionMap is empty (#19600)
new 7293816617 [Bugfix](Jdbc Catalog) fix data type mapping of SQLServer
Catalog (#19525)
new 1b97f99a07 [Fix](multi-catalog) Fix sync hms event failed. (#19555)
new 0abe5db29b [Bug](decimal) fix variance_samp and avg_weighted #19861
new 1beaf0b45f [improvement](jdbc catalog) Adapt to hana's special view &
Optimize jdbc name format (#19696)
new cf0297ce89 [fix](multi-catalog) JDBC Catalog Unknown UNSIGNED type of
mysql, type: [DOUBLE] (#19912)
new f935768d98 [fix](merge-on-write) return error st if
check_pk_in_pre_segments failed (#19736)
new 88668ec8ca [fix](auth)fix row policy use alias error (#19976)
new 171a110d79 [fix](publish) dot use wait_for for publish synchorization
(#20029)
new 6461b423cf [opt](balance) add config balance_slot_num_per_path (#19869)
new 8208ced21d [fix](planner) The group by part should be substituted in
the same way as select part (#20019)
new ec1d442ceb [improve] (jdbc catalog) better handling of postresql
bit(1) types with bool type (#20022)
new 52d6e2cad2 [fix](multi-catalog) values in sqlserver should be enclosed
by single quotes (#19971)
new 2a019dd2a4 [Fix](multi-catalog) Fix db name is not lower case when
jdbc catalog configuration `lower_case_table_names` is `true`. (#20021)
The 24 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
be/src/agent/task_worker_pool.cpp | 4 +-
be/src/exec/table_connector.cpp | 11 +-
be/src/olap/delta_writer.cpp | 3 +-
be/src/olap/rowset/beta_rowset_writer.cpp | 9 -
be/src/olap/rowset/beta_rowset_writer.h | 8 +-
be/src/olap/rowset/segment_v2/segment_writer.cpp | 7 -
be/src/olap/rowset/segment_v2/segment_writer.h | 6 -
be/src/olap/tablet.cpp | 29 +-
be/src/olap/tablet_meta.cpp | 8 -
be/src/olap/tablet_meta.h | 2 -
be/src/olap/task/engine_publish_version_task.cpp | 31 +-
be/src/olap/task/engine_publish_version_task.h | 12 +-
be/src/olap/txn_manager.cpp | 12 +-
be/src/olap/txn_manager.h | 3 +-
.../clickhouse/init/03-create-table.sql | 20 +
.../docker-compose/clickhouse/init/04-insert.sql | 6 +
.../docker-compose/mysql/init/03-create-table.sql | 35 ++
.../docker-compose/mysql/init/04-insert.sql | 14 +
docs/en/docs/admin-manual/config/fe-config.md | 10 +
docs/en/docs/lakehouse/multi-catalog/jdbc.md | 4 +-
docs/zh-CN/docs/admin-manual/config/fe-config.md | 11 +
docs/zh-CN/docs/lakehouse/multi-catalog/jdbc.md | 4 +-
.../main/java/org/apache/doris/common/Config.java | 11 +
.../java/org/apache/doris/analysis/Analyzer.java | 44 ++-
.../apache/doris/analysis/ExprSubstitutionMap.java | 4 +-
.../java/org/apache/doris/analysis/FromClause.java | 12 +
.../apache/doris/analysis/FunctionCallExpr.java | 13 +-
.../java/org/apache/doris/analysis/GrantStmt.java | 15 +-
.../org/apache/doris/analysis/InlineViewRef.java | 13 +
.../java/org/apache/doris/analysis/SelectStmt.java | 2 +
.../org/apache/doris/analysis/StmtRewriter.java | 7 +-
.../apache/doris/catalog/CatalogRecycleBin.java | 4 +
.../java/org/apache/doris/catalog/OdbcTable.java | 102 +++---
.../org/apache/doris/catalog/RefreshManager.java | 2 +-
.../doris/catalog/external/HMSExternalTable.java | 21 ++
.../org/apache/doris/clone/BeLoadRebalancer.java | 2 +-
.../org/apache/doris/clone/DiskRebalancer.java | 3 +-
.../org/apache/doris/clone/TabletScheduler.java | 9 +-
.../org/apache/doris/datasource/CatalogMgr.java | 107 ++++--
.../doris/datasource/ExternalMetaCacheMgr.java | 3 +-
.../apache/doris/datasource/InternalCatalog.java | 3 +-
.../doris/datasource/hive/HiveMetaStoreCache.java | 21 +-
.../datasource/hive/event/AddPartitionEvent.java | 2 +-
.../datasource/hive/event/AlterPartitionEvent.java | 8 +-
.../datasource/hive/event/AlterTableEvent.java | 24 +-
.../datasource/hive/event/CreateDatabaseEvent.java | 2 +-
.../datasource/hive/event/CreateTableEvent.java | 11 +-
.../datasource/hive/event/DropDatabaseEvent.java | 2 +-
.../datasource/hive/event/DropPartitionEvent.java | 2 +-
.../datasource/hive/event/DropTableEvent.java | 2 +-
.../doris/datasource/hive/event/InsertEvent.java | 2 +-
.../datasource/hive/event/MetastoreEvent.java | 3 +
.../hive/event/MetastoreEventsProcessor.java | 10 +
.../org/apache/doris/external/jdbc/JdbcClient.java | 49 ++-
.../apache/doris/journal/bdbje/BDBEnvironment.java | 4 -
.../doris/mysql/privilege/PaloPrivilege.java | 11 +
.../apache/doris/datasource/CatalogMgrTest.java | 4 +-
.../apache/doris/external/hms/HmsCatalogTest.java | 404 +++++++++++++++++++++
.../java/org/apache/doris/policy/PolicyTest.java | 27 ++
.../java/org/apache/doris/udf/JdbcExecutor.java | 26 +-
.../correctness_p0/test_grouping_with_alias.out | 3 +
.../decimalv3/test_if_functions.out} | 6 +-
.../test_clickhouse_jdbc_catalog.out | Bin 880 -> 1466 bytes
.../jdbc_catalog_p0/test_mysql_jdbc_catalog.out | 5 +
.../jdbc_catalog_p0/test_oracle_jdbc_catalog.out | 6 +-
.../test_sqlserver_jdbc_catalog.out | 6 +-
.../correctness_p0/test_grouping_with_alias.groovy | 23 ++
...t_predicate.groovy => test_if_functions.groovy} | 39 +-
.../test_clickhouse_jdbc_catalog.groovy | 1 +
.../jdbc_catalog_p0/test_mysql_jdbc_catalog.groovy | 5 +
.../test_oracle_jdbc_catalog.groovy | 5 +-
71 files changed, 1052 insertions(+), 287 deletions(-)
create mode 100644
fe/fe-core/src/test/java/org/apache/doris/external/hms/HmsCatalogTest.java
copy regression-test/data/{correctness_p0/test_outer_join_with_null_value.out
=> datatype_p0/decimalv3/test_if_functions.out} (84%)
copy regression-test/suites/datatype_p0/decimalv3/{test_predicate.groovy =>
test_if_functions.groovy} (54%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]