-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for more JSR-310 related classes about JDBC Timestamp in IntervalShardingAlgorithm #17754
Conversation
….OffsetDateTime, java.time.ZonedDateTime. IntervalShardingAlgorithm Added tests for java.time.Instant, java.time.OffsetDateTime, java.time.ZonedDateTime support.
|
|
Codecov Report
@@ Coverage Diff @@
## master #17754 +/- ##
============================================
+ Coverage 59.02% 59.16% +0.14%
- Complexity 2128 2131 +3
============================================
Files 3593 3593
Lines 53378 53373 -5
Branches 9116 9115 -1
============================================
+ Hits 31506 31580 +74
+ Misses 19207 19121 -86
- Partials 2665 2672 +7
Continue to review full report at Codecov.
|
@linghengqian Thank you, let's see if anyone else is willing to submit a PR to support the LocalDate. |
* master: Fix the exception when specifying schema when JDBC connects to Proxy (apache#17611) Add ProxyContextRestorer to restore proxy context in test cases (apache#17802) Remove redundant blank chars and lines in codes (apache#17799) Supports scaling MySQL table which only contains unique index (apache#17786) Add unit test for ModShardingAlgorithm check Argument(apache#17695) (apache#17772) Move getSchemas method to ShardingSphereDatabase (apache#17798) Fix unit tests in proxy-frontend-core affected by other tests (apache#17796) Update powered by (apache#17795) Add support for more JSR-310 related classes about JDBC Timestamp in IntervalShardingAlgorithm (apache#17754) Rename ShardingSphereMetaData to ShardingSphereDatabaseMetaData (apache#17792) Rename MetaDataContexts.persistService (apache#17789) Move ContextManager.executorEngine (apache#17783) Change proxy log print at Docker images, get more information (apache#17788) fix datasource closed exception for db-discovery (apache#17774) Add lock method for schema in lock manager (apache#17787) Refactor MetaDataChangedWatcher (apache#17781) Refactor PipelineTableMetaDataLoader and fix typo in PipelineTableMetaData (apache#17778) Rename DatabaseRulesBuilder (apache#17780) # Conflicts: # shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/test/java/org/apache/shardingsphere/encrypt/merge/dql/EncryptAlgorithmMetaDataTest.java
For #17752.
Changes proposed in this pull request:
java.time.Instant
,java.time.OffsetDateTime
,java.time.ZonedDateTime
inorg.apache.shardingsphere.sharding.algorithm.sharding.datetime.IntervalShardingAlgorithm
.java.sql.Timestamp
,java.time.Instant
,java.time.OffsetDateTime
,java.time.ZonedDateTime
inorg.apache.shardingsphere.sharding.algorithm.sharding.datetime.IntervalShardingAlgorithmTest
.