dask-sql
dask-sql copied to clipboard
[BUG] Sqlparser fails to parse no standard escape chars.
What happened:
When running test_rex.py::test_like one specific case fails with parsing errors due to escaping on non standard char 'Ä'.
What you expected to happen: The operation succeeds.
Minimal Complete Verifiable Example:
df = c.sql(f"""
SELECT * FROM {input_table}
WHERE a LIKE 'Ä%Ä_Ä%' ESCAPE 'Ä'
""")
Anything else we need to know?:
Environment:
- dask-sql version: from #751
- Python version:3.9
- Operating System: ubuntu 18.04
- Install method (conda, pip, source): source