Michael Smith created IMPALA-14730:
--------------------------------------

             Summary: First run of impala-shell with Python 3.12 produces 
warnings
                 Key: IMPALA-14730
                 URL: https://issues.apache.org/jira/browse/IMPALA-14730
             Project: IMPALA
          Issue Type: Bug
          Components: Clients
    Affects Versions: Impala 5.0.0
            Reporter: Michael Smith
            Assignee: Michael Smith


The first run of impala-shell with Python 3.12 produces warnings like
{code}
/home/msmith2.linux/impala/shell/build/python3_venv/lib/python3.12/site-packages/prettytable.py:74:
 SyntaxWarning: invalid escape sequence '\['
  _re = re.compile("\033\[[0-9;]*m")
/home/msmith2.linux/impala/shell/build/python3_venv/lib/python3.12/site-packages/prettytable.py:800:
 SyntaxWarning: invalid escape sequence '\{'
  self.vertical_char = random.choice("~!@#$%^&*()_+|-=\{}[];':\",./;<>?")
/home/msmith2.linux/impala/shell/build/python3_venv/lib/python3.12/site-packages/prettytable.py:801:
 SyntaxWarning: invalid escape sequence '\{'
  self.horizontal_char = random.choice("~!@#$%^&*()_+|-=\{}[];':\",./;<>?")
/home/msmith2.linux/impala/shell/build/python3_venv/lib/python3.12/site-packages/prettytable.py:802:
 SyntaxWarning: invalid escape sequence '\{'
  self.junction_char = random.choice("~!@#$%^&*()_+|-=\{}[];':\",./;<>?")
using legacy validation callback
Starting Impala Shell with no authentication using Python 3.12.3
{code}

After that run, the .pyc files are used and it doesn't appear again. This is 
mildly ugly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to