iamhucong opened a new pull request, #38886: URL: https://github.com/apache/shardingsphere/pull/38886
## Summary - Preserve SQL text for temporal literals parsed from INSERT VALUES. - Treat DATE/TIME/TIMESTAMP literals as typed literal expressions so encrypt rewrite can use raw literal values while keeping temporal SQL syntax where needed. - Preserve Oracle date-time literal quote metadata and align parser expected cases. ## Tests - `./mvnw spotless:apply -Pcheck -T1C` - `./mvnw -pl parser/sql/statement/core,features/encrypt/core -am -DskipITs -Dspotless.skip=true -Dtest=SQLUtilsTest,DateTimeLiteralValueTest,EncryptInsertValuesTokenGeneratorTest -Dsurefire.failIfNoSpecifiedTests=false test` - `./mvnw -pl parser/sql/engine/dialect/oracle,parser/sql/statement/core -am -DskipITs -Dspotless.skip=true -Dmaven.test.skip=true install` - `./mvnw -pl test/it/rewriter -am clean test -DskipITs -Dspotless.skip=true -Dtest=EncryptSQLRewriterIT -Dsurefire.failIfNoSpecifiedTests=false` - `./mvnw -pl test/it/parser -am clean test -DskipITs -Dspotless.skip=true -Dtest=org.apache.shardingsphere.test.it.sql.parser.oracle.InternalOracleParserIT -Dsurefire.failIfNoSpecifiedTests=false` - `./mvnw checkstyle:check -Pcheck -T1C` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
