Join us
@tonyzhu_sphereex ・ Apr 20,2023 ・ 892 views
Apache ShardingSphere version 5.3.2, released after two months of development, brings significant improvements in functionality, performance, testing, documentation, and examples. With 797 PRs from teams and individuals worldwide, users can enjoy an enhanced and problem-solving version. Notably, the ShardingSphere Driver now supports Apollo, allowing for configuration reading from the Apollo configuration center. Other updates include support for migrating tables with any index structure and the CONCAT function for data encryption fuzzy query.
Apache ShardingSphere version 5.3.2, released after two months of development, brings significant improvements in functionality, performance, testing, documentation, and examples. With 797 PRs from teams and individuals worldwide, users can enjoy an enhanced and problem-solving version. Notably, the ShardingSphere Driver now supports Apollo, allowing for configuration reading from the Apollo configuration center. Other updates include support for migrating tables with any index structure and the CONCAT function for data encryption fuzzy query.
The JDBC URL is written as follows:
# Read the configuration file from the absolute path
jdbc:shardingsphere:absolutepath:/path/to/config.yml
# Read the configuration file from the classpath
jdbc:shardingsphere:classpath:config/shardingsphere/config.yml
# Read the configuration file from the Apollo configuration center
jdbc:shardingsphere:apollo:apollo.meta?appid=ss-test&namespace=config
The provision of an SPI interface allows developers to tailor the configuration reading logic to their specific scenarios, such as enabling configuration reading from other registration centers. The ShardingSphere community encourages developers to contribute to the shared configuration implementation to extend its benefits to a broader user base.
Migrate Tables with Any Index Structure, Including Tables Without an Index
ShardingSphere's latest update now allows for the migration of tables with any index structure, including those without an index, providing significant benefits to users with complex application scenarios. The updated data migration support considers scenarios where tables have composite primary keys or unique indexes, or no primary keys or indexes at all. This improvement gives users greater flexibility in managing their data, making it easier to ensure smooth application operations.
The Data Encryption Fuzzy Query Now Supports the CONCAT Function
After receiving user feedback on the encrypted column fuzzy query feature in ShardingSphere 5.3.0, it was noted that the LIKE fuzzy query was often used in combination with the wildcard % through the CONCAT function in SQL. However, ShardingSphere was limited to completing wildcard concatenation on parameter values only. In version 5.3.2, ShardingSphere has made improvements to support functions in encryption and now allows for the use of wildcards directly in SQL in the following format:
select * from t where user_name like CONCAT('%', ?, '%')
Release Notes
API Changes
New Features
Enhancements
Bug Fixes
In summary, the latest release of Apache ShardingSphere offers many enhancements and functionalities that can improve problem-solving for users. The community has been responsive to user feedback and has improved the overall user experience. This release incorporates the work of 37 contributors who made 797 merged PRs. We thank them for their dedication.
Join other developers and claim your FAUN account now!
Influence
Total Hits
Posts
Only registered users can post comments. Please, login or signup.