DaZuiZui opened a new pull request, #17690:
URL: https://github.com/apache/iotdb/pull/17690
## Description
Fixes #17610.
This PR allows table-model LIKE predicates to accept dynamic pattern
expressions such as concat(...) and string concatenation with ||, while keeping
metadata pushdown limited to safe literal patterns.
It also carries the load-tsfile scheduler fix needed for the related
dual-tree auto basic CI path.
## Tests
- mvn spotless:apply -pl iotdb-core/datanode,integration-test -P
with-integration-tests -ntp
- mvn test -pl iotdb-core/datanode -Dtest=AnalyzerTest#expressionTest -ntp
- mvn verify -DskipUTs -Dit.test=IoTDBPipeReceiverAutoCreateDisabledIT
-DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false -pl
integration-test -am -P with-integration-tests -P
MultiClusterIT2DualTreeAutoBasic -ntp
- mvn package -P with-integration-tests -DskipTests -ntp
Manual verification on packaged IoTDB confirmed:
- alarmname LIKE concat('OK','%') returns OK and OK_HIGH
- alarmname LIKE 'OK' || '%' returns OK and OK_HIGH
- alarmname LIKE concat('正','常','%') returns 正常 and 正常高
--
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]