caicancai opened a new pull request, #5025: URL: https://github.com/apache/calcite/pull/5025
The merge of #4992 inadvertently reverted four fixes that had already landed on `main` because the feature branch was based on an older revision. This PR restores the changes for: - CALCITE-7562: preserve casts when expanding `IN` expressions with type coercion disabled - CALCITE-7567: retain precision when finding a least-restrictive TIMESTAMP/TIMESTAMP_LTZ type - CALCITE-7578: handle an empty `LIKE ... ESCAPE` string safely - CALCITE-7588: handle wildcard characters used as the `LIKE` escape character The Arrow/Gandiva changes from CALCITE-7580 remain unchanged. Tests: - `./gradlew :core:cleanTest :core:test --tests org.apache.calcite.test.SqlToRelConverterTest --no-daemon` - `./gradlew :core:test --tests org.apache.calcite.rex.RexProgramTest.testSimplifyLike --tests org.apache.calcite.sql.type.SqlTypeFactoryTest.testLeastRestrictiveForTimestampAndTimestampLtz --tests org.apache.calcite.sql.type.SqlTypeFactoryTest.testLeastRestrictiveForTimestampLtzAndTimestamp --no-daemon` -- 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]
