-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support escape character in string #260
Comments
remind :) |
Hi @StpMax can I work on this? |
@akshithagunupati, yes, you can try to work on it |
@ea-rus Thank you. But is it possible for you to elaborate on the issue please? |
@akshithagunupati the issue is that mindsdb_sql does not support any escape sequence or escape character. Check examples at the end of this doc page. If run in mysql from mindsdb_sql import parse_sql
q = """
SELECT 'disappearing\ backslash';
"""
ast = parse_sql(q, dialect='mysql')
print(ast.targets[0].value) result will be |
Added support escaping for quotes in #339 select 'a \' b' select "a \" b" |
String in this query at the moment parsed as is: 'a\ b'
But should be 'a b'
The text was updated successfully, but these errors were encountered: