Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/22330 )

Change subject: IMPALA-11980 (part 2): Fix absolute import issues for 
impala_shell
......................................................................


Patch Set 15:

(61 comments)

gerrit-auto-critic failed. You can reproduce it locally using command:

  python3 bin/jenkins/critique-gerrit-review.py --dryrun

To run it, you might need a virtual env with Python3's venv installed.

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/ImpalaHttpClient.py
File shell/impala_shell/ImpalaHttpClient.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/ImpalaHttpClient.py@49
PS15, Line 49: class ImpalaHttpClient(TTransportBase):
flake8: E302 expected 2 blank lines, found 1


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/ImpalaHttpClient.py@190
PS15, Line 190: h
flake8: U100 Unused argument 'has_auth_cookie'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/ImpalaHttpClient.py@202
PS15, Line 202: h
flake8: U100 Unused argument 'has_auth_cookie'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/ImpalaHttpClient.py@231
PS15, Line 231: h
flake8: U100 Unused argument 'has_auth_cookie'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/TSSLSocketWithWildcardSAN.py
File shell/impala_shell/TSSLSocketWithWildcardSAN.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/TSSLSocketWithWildcardSAN.py@31
PS15, Line 31: class TSSLSocketWithWildcardSAN(TSSLSocket.TSSLSocket):
flake8: E302 expected 2 blank lines, found 1


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py
File shell/impala_shell/impala_client.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@118
PS15, Line 118: u
flake8: F821 undefined name 'unicode'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@228
PS15, Line 228: p
flake8: U100 Unused argument 'protocol'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@274
PS15, Line 274: q
flake8: U100 Unused argument 'query_str'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@274
PS15, Line 274: s
flake8: U100 Unused argument 'set_query_options'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@282
PS15, Line 282: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@315
PS15, Line 315: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@321
PS15, Line 321: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@325
PS15, Line 325: q
flake8: U100 Unused argument 'query_str'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@325
PS15, Line 325: q
flake8: U100 Unused argument 'query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@329
PS15, Line 329: q
flake8: U100 Unused argument 'query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@342
PS15, Line 342: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@350
PS15, Line 350: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@356
PS15, Line 356: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@362
PS15, Line 362: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@371
PS15, Line 371: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@380
PS15, Line 380: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@380
PS15, Line 380: w
flake8: U100 Unused argument 'warn'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@852
PS15, Line 852: c
flake8: U100 Unused argument 'column_value_getters'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@994
PS15, Line 994: q
flake8: U100 Unused argument 'query_str'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@1238
PS15, Line 1238: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@1241
PS15, Line 1241: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@1244
PS15, Line 1244: l
flake8: U100 Unused argument 'last_query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@1414
PS15, Line 1414: q
flake8: U100 Unused argument 'query_handle'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_client.py@1530
PS15, Line 1530: (
flake8: E275 missing whitespace after keyword


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py
File shell/impala_shell/impala_shell.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@360
PS15, Line 360: t
flake8: U100 Unused argument 'type'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@360
PS15, Line 360: v
flake8: U100 Unused argument 'value'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@360
PS15, Line 360: t
flake8: U100 Unused argument 'traceback'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@711
PS15, Line 711: s
flake8: U100 Unused argument 'signal'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@711
PS15, Line 711: f
flake8: U100 Unused argument 'frame'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@819
PS15, Line 819: a
flake8: U100 Unused argument 'args'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@982
PS15, Line 982: a
flake8: U100 Unused argument 'args'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@1517
PS15, Line 1517: u
flake8: F821 undefined name 'unicode'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@1636
PS15, Line 1636: a
flake8: U100 Unused argument 'args'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@1676
PS15, Line 1676: a
flake8: U100 Unused argument 'args'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@1836
PS15, Line 1836: a
flake8: U100 Unused argument 'args'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@1841
PS15, Line 1841: i
flake8: U100 Unused argument 'ignored'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@2274
PS15, Line 2274: e
flake8: F841 local variable 'e' is assigned to but never used


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/impala_shell.py@2317
PS15, Line 2317: i
flake8: F401 'thrift.protocol.fastbinary' imported but unused


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/option_parser.py
File shell/impala_shell/option_parser.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/option_parser.py@272
PS15, Line 272: +
flake8: W504 line break after binary operator


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/option_parser.py@273
PS15, Line 273: +
flake8: W504 line break after binary operator


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/option_parser.py@274
PS15, Line 274: +
flake8: W504 line break after binary operator


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/option_parser.py@380
PS15, Line 380: t
flake8: E721 do not compare types, for exact checks use `is` / `is not`, for 
instance checks use `isinstance()`


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/option_parser.py@385
PS15, Line 385: t
flake8: E721 do not compare types, for exact checks use `is` / `is not`, for 
instance checks use `isinstance()`


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/shell_output.py
File shell/impala_shell/shell_output.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/shell_output.py@40
PS15, Line 40: t
flake8: E721 do not compare types, for exact checks use `is` / `is not`, for 
instance checks use `isinstance()`


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/shell_output.py@44
PS15, Line 44: u
flake8: F821 undefined name 'unicode'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/shell_output.py@105
PS15, Line 105: u
flake8: F821 undefined name 'unicode'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/shell_output.py@134
PS15, Line 134: u
flake8: F821 undefined name 'unicode'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/shell_output.py@136
PS15, Line 136: +
flake8: W504 line break after binary operator


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/value_converter.py
File shell/impala_shell/value_converter.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/value_converter.py@26
PS15, Line 26: v
flake8: U100 Unused argument 'value'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/impala_shell/value_converter.py@29
PS15, Line 29: f
flake8: U100 Unused argument 'format_specification'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/setup.py
File shell/setup.py:

http://gerrit.cloudera.org:8080/#/c/22330/15/shell/setup.py@97
PS15, Line 97: \
flake8: W605 invalid escape sequence '\d'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/setup.py@97
PS15, Line 97: \
flake8: W605 invalid escape sequence '\.'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/setup.py@97
PS15, Line 97: \
flake8: W605 invalid escape sequence '\d'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/setup.py@97
PS15, Line 97: \
flake8: W605 invalid escape sequence '\.'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/setup.py@97
PS15, Line 97: \
flake8: W605 invalid escape sequence '\d'


http://gerrit.cloudera.org:8080/#/c/22330/15/shell/setup.py@105
PS15, Line 105: \
flake8: W605 invalid escape sequence '\d'



--
To view, visit http://gerrit.cloudera.org:8080/22330
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica75a24fa6bcb78999b9b6f4f4356951b81c3124
Gerrit-Change-Number: 22330
Gerrit-PatchSet: 15
Gerrit-Owner: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>
Gerrit-Comment-Date: Mon, 07 Apr 2025 16:27:52 +0000
Gerrit-HasComments: Yes

Reply via email to