Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom escape characters are not supported? #2334

Closed
chenjpu opened this issue Nov 3, 2021 · 1 comment
Closed

Custom escape characters are not supported? #2334

chenjpu opened this issue Nov 3, 2021 · 1 comment
Assignees

Comments

@chenjpu
Copy link

chenjpu commented Nov 3, 2021

1.Can query the data that meets the conditions

SELECT * from test_t t where t.NAME like '%\\_%' ESCAPE '\\';

2.Can not query the data that meets the conditions

SELECT * from test_t t where t.NAME like '%$_%' ESCAPE '$';
@zachmu
Copy link
Member

zachmu commented Nov 3, 2021

Thanks for the report.

Looks like we are not actually processing the escape characters for LIKE comparisons. This is a bug.

James, please take this on as your next task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants