Release 5.5.2
API Changes
New Features
- Kernel: Add firebird SQL parser module and database type #33773
Enhancements
- Kernel: Add arguments not null check when creating RouteUnit - #33382
- Kernel: Add index columns not empty judgement for IndexColumnTokenGenerator - #33384
- Kernel: Add binding to owner table - #33533
- Kernel: Add binding to owner table - #33533
- Kernel: Add WithAvailable interface and encrypt with, combine, insert select support checker - #34175
- Metadata: Add load-table-metadata-batch-size props to concurrent load table metadata - #34009
- DistSQL: Check inline expression when create sharding table rule with inline sharding algorithm - #33735
- SQL Parser: Support parsing Doris BITXOR - #33258
- SQL Parser: Support parsing Doris INSTR - #33289
- SQL Parser: Support parsing Doris STRRIGHT - #33393
- SQL Parser: Support parsing MySQL by adding non-reserved keywords in BaseRule.g4 file according to MySQL 8.4 doc - #33846
- SQL Parser: Support parsing Doris EXTRACT_URL_PARAMETER - #33571
- SQL Parser: Enhance create view, alter view, drop view sql parser - #34283
- SQL Binder: Add sql bind logic for create table statement - #34074
- SQL Binder: Support create index statement sql bind - #34112
- SQL Parser: Support MySQL update with statement parse - #34126
- SQL Binder: Remove TablesContext#findTableNames method and implement select order by, group by bind logic - #34123
- SQL Binder: Support select with statement sql bind and add bind test case - #34141
- SQL Binder: Support sql bind for select with current select projection reference - #34151
- SQL Binder: Support alter table, drop table sql bind and add test case - #34154
- SQL Binder: Support rename table statement sql bind and split segment bind to ddl and dml package - #34158
- SQL Binder: Support copy statement sql bind and add bind test case - #34159
- SQL Binder: Support truncate table sql bind and add test case - #34162
- SQL Binder: Support create view, alter view, drop view sql bind logic - #34167
- SQL Binder: Support load data and load xml sql bind and add test case - #34177
- SQL Binder: Support optimize table sql bind and add test case - #34242
- SQL Binder: Support show create table, show columns, show index statement bind - #34271
- SQL Binder: Support deny user sql bind and add test case - #34279
- SQL Binder: Support with segment bind check with UniqueCommonTableExpressionException - #34163
- Storage: Support setting
hive_conf_list
,hive_var_list
andsess_var_list
for jdbcURL when connecting to HiveServer2 - #33749 - Storage: Support connecting to HiveServer2 through database connection pools other than HikariCP - #33762
- Storage: Partial support for connecting to embedded ClickHouse
chDB
- #33786 - Transaction: Support savepoint/release savepoint TCL statements in jdbc adapter -#34173
- Transaction: Bump the minimum Seata Client version for Seata AT integration to 2.2.0 - #33872
- SQL Federation: Upgrade calcite version to 1.38.0 and update all license info in LICENSE file - #33279
- JDBC: Add show database name for JDBC when execute SHOW COMPUTE NODES - #33437
- JDBC: Support ZonedDateTime on ResultSet - #33660
- Proxy: Add query parameters and check for MySQL kill processId - #33274
- Proxy: Support table not exist exception for PostgreSQL proxy - #33885
- Proxy Native: Change the Base Docker Image of ShardingSphere Proxy Native - #33263
- Proxy Native: Support connecting to HiveServer2 with ZooKeeper Service Discovery enabled in GraalVM Native Image - #33768
- Proxy Native: Support local transactions of ClickHouse under GraalVM Native Image - #33801
- Proxy Native: Support Seata AT integration under Proxy Native in GraalVM Native Image - #33889
- Sharding: Support GroupConcat function for aggregating multiple shards in MySQL, OpenGauss, Doris - #33808
- Agent: Simplify the use of Agent's Docker Image - #33356
- Mode: Support modifying Hikari-CP configurations via props in standalone mode #34185
- Encrypt: Support insert statement rewrite use quote #34259
- Infra: Support connecting to Firebird via jdbcUrl containing the absolute path to fdb - #34335
Bug Fixes
- SQL Parser: Fixes LiteralExpressionSegment cast exception in SQL parser - #33332
- SQL Parser: Fixes PostgreSQL and openGauss time extract function parse week and quarter error - #33564
- SQL Parser: Fixes MySQL parse zone unreserved keyword error - #33720
- SQL Parser: Fixes MySQL range parse error when use table owner - #33874
- SQL Binder: Fixes table does not exist exception when use HintManager#setDatabaseName to transparent - #33370
- SQL Binder: Use Multimap and CaseInsensitiveString to replace CaseInsensitiveMap for supporting MySQL multi table join with same table alias - #33303
- SQL Binder: Fixes the combine statement cannot find the outer table when bind - #33357
- SQL Binder: Fixes SQL performance issues caused by repeated subquery fetches - #33361
- SQL Binder: Fixes the expression segment cannot find the outer table when binding - #34015
- Storage: Fixes cannot connect to HiveServer2 using remote Hive Metastore Server - #33837
- Proxy: Fixes BatchUpdateException when execute INSERT INTO ON DUPLICATE KEY UPDATE in proxy adapter - #33796
- Proxy: Fixes "ALL PRIVILEGES ON
DB
.*" is not recognized during SELECT privilege verification for MySQL - #34037 - Proxy: Fixes MySQL longblob wrong column type returned by proxy protocol - #34121
- Proxy: Fixes MySQL proxy error if insert SQL contains more parameters not in insert values syntax - #34287
- Sharding: Remove ShardingRouteAlgorithmException check logic temporarily to support different actual table name configuration - #33367
- Sharding: Fixes SQL COUNT with GROUP BY to prevent incorrect row returns - #33380
- Sharding: Fixes avg, sum, min, max function return empty data when no query result return - #33449
- Encrypt: Fixes merge exception without encrypt rule in database - #33708
- Encrypt: Use sql bind info in EncryptInsertPredicateColumnTokenGenerator to avoid wrong column table mapping - #34110
- Mode: Fixes
JDBCRepository
improper handling of H2-database in memory mode - #33281 - Mode: Fixes duplicate column names added when index changed in DDL - #33982