chesnokoff commented on code in PR #12723:
URL: https://github.com/apache/ignite/pull/12723#discussion_r2792409765
##########
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/H2QueryInfo.java:
##########
@@ -242,13 +254,13 @@ public boolean isSuspended() {
* @return SQL plan without the scanCount suffix.
*/
public String planWithoutScanCount(String plan) {
- if (plan == null || !plan.contains("scanCount:"))
+ if (!plan.contains("scanCount:"))
return plan;
StringBuilder res = new StringBuilder(plan);
- removePattern(res, "\n /* scanCount:", "*/");
Review Comment:
Can be cases:
`\n scanCount`
`\n scanCount`
`\n scanCount`
Because of that my new test may fail. That's why we need to fix the bug here
too
--
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]