[ https://issues.apache.org/jira/browse/IGNITE-18964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17696780#comment-17696780 ]
Chenjian commented on IGNITE-18964: ----------------------------------- [Yury Gerzhedovich |https://cwiki.apache.org/confluence/display/~jooger] > Fix sql wildcard to java regex translation when involving consecutive > wildcard characters > ----------------------------------------------------------------------------------------- > > Key: IGNITE-18964 > URL: https://issues.apache.org/jira/browse/IGNITE-18964 > Project: Ignite > Issue Type: Bug > Components: sql > Affects Versions: 2.14 > Reporter: Chenjian > Assignee: Chenjian > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > It's a capture corner case for the IGNITE-12687. > The current `SqlListenerUtils.translateSqlWildcardsToRegex` not handle > consecutive "_" character correctly. > eg: > {code:java} > If we have a escaped table name a\\_\\_b_c should be translated to a__b_c not > a\\__b_c{code} > > Without the fix, user can not get their tables search by escaped table names > if they created table with more than one consecutive "_" > Affected version is from 2.9 to 2.14 -- This message was sent by Atlassian Jira (v8.20.10#820010)