cloudera / impyla

Python DB API 2.0 client for Impala and Hive (HiveServer2 protocol)
Apache License 2.0
731 stars 248 forks source link

SyntaxWarning: invalid escape sequence '\d' operation = re.sub(":([^\d\W]\w*)", "%(\g<1>)s", operation) #555

Open frbelotto opened 1 month ago

frbelotto commented 1 month ago

Hi guys, Is this error related to using python 3.12?

from impala.dbapi import connect
[c:\Users\F3164582\Banco](file:///C:/Users/F3164582/Banco) do Brasil S.A\DINED Biz Dev - General\Python\LojaBB\.venv\Lib\site-packages\impala\interface.py:273: SyntaxWarning: invalid escape sequence '\d'
  operation = re.sub(":([^\d\W]\w*)", "%(\g<1>)s", operation)
[c:\Users\F3164582\Banco](file:///C:/Users/F3164582/Banco) do Brasil S.A\DINED Biz Dev - General\Python\LojaBB\.venv\Lib\site-packages\impala\interface.py:273: SyntaxWarning: invalid escape sequence '\g'
  operation = re.sub(":([^\d\W]\w*)", "%(\g<1>)s", operation)

impyla 0.19.0