Joe McDonnell has posted comments on this change. ( https://gerrit.cloudera.org/25268 )
Change subject: IMPALA-15725: Upgrade sqlparse to 0.5.5/0.6.1 ...................................................................... Patch Set 2: Code-Review+1 (2 comments) I wonder if the DDoS protections could trip up user SQLs. Would we want to have some way to tune MAX_GROUPING_DEPTH and MAX_GROUPING_TOKENS via commandline flag? https://gerrit.cloudera.org/#/c/25268/2/shell/requirements.txt File shell/requirements.txt: https://gerrit.cloudera.org/#/c/25268/2/shell/requirements.txt@9 PS2, Line 9: sqlparse==0.5.5; python_version < "3.10" : sqlparse==0.6.1; python_version >= "3.10" If we support Python 2, we would want a line with a version of sqlparse that works on Python 2. Of course, we've been meaning to drop that support. https://gerrit.cloudera.org/#/c/25268/2/tests/shell/test_shell_commandline.py File tests/shell/test_shell_commandline.py: https://gerrit.cloudera.org/#/c/25268/2/tests/shell/test_shell_commandline.py@86 PS2, Line 86: 10000 Nit: We could import sqlparse.engine.grouping.MAX_GROUPING_TOKENS to use here -- To view, visit https://gerrit.cloudera.org/25268 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6e6cdfadecad111597562b025af514c3c1f0faf4 Gerrit-Change-Number: 25268 Gerrit-PatchSet: 2 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Laszlo Gaal (Cloudera) <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Comment-Date: Tue, 03 Nov 2026 01:58:11 +0000 Gerrit-HasComments: Yes
