dask-sql icon indicating copy to clipboard operation
dask-sql copied to clipboard

[BUG] Sqlparser fails to parse no standard escape chars.

Open ayushdg opened this issue 3 years ago • 0 comments

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

ayushdg avatar Sep 12 '22 23:09 ayushdg