You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Tim Armstrong (Code Review)" <ge...@cloudera.org> on 2019/04/23 17:22:49 UTC
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Tim Armstrong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/13083
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
IMPALA-7290: part 1: clean up shell tests
This sets up the tests to be more extended to test shell
in both beeswax and HS2 modes.
Testing:
* Add test dimension containing only beeswax in preparation
for HS2 dimension.
* Factor out hardcoded ports
* Add tests for formatting of all types and NULL values
* Added testing for floating point output formatting, which does
change as a result of switching to server-side vs client-side
formatting.
* Use unique_database for tests that create tables
Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
---
M bin/load-data.py
M testdata/bin/create-load-data.sh
M testdata/bin/create-tpcds-testcase-files.sh
M tests/beeswax/impala_beeswax.py
M tests/common/impala_test_suite.py
M tests/common/test_dimensions.py
M tests/custom_cluster/test_client_ssl.py
M tests/custom_cluster/test_shell_interactive.py
M tests/custom_cluster/test_shell_interactive_reconnect.py
M tests/shell/test_shell_commandline.py
M tests/shell/test_shell_interactive.py
M tests/shell/util.py
12 files changed, 751 insertions(+), 599 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/83/13083/5
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 5
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Hello Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/13083
to look at the new patch set (#8).
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
IMPALA-7290: part 1: clean up shell tests
This sets up the tests to be extensible to test shell
in both beeswax and HS2 modes.
Testing:
* Add test dimension containing only beeswax in preparation
for HS2 dimension.
* Factor out hardcoded ports.
* Add tests for formatting of all types and NULL values.
* Merge date shell test into general type tests.
* Added testing for floating point output formatting, which does
change as a result of switching to server-side vs client-side
formatting.
* Use unique_database for tests that create tables.
Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
---
M bin/load-data.py
M testdata/bin/create-load-data.sh
M testdata/bin/create-tpcds-testcase-files.sh
M tests/beeswax/impala_beeswax.py
M tests/common/impala_test_suite.py
M tests/common/test_dimensions.py
M tests/custom_cluster/test_client_ssl.py
M tests/custom_cluster/test_shell_interactive.py
M tests/custom_cluster/test_shell_interactive_reconnect.py
M tests/query_test/test_date_queries.py
M tests/shell/test_shell_commandline.py
M tests/shell/test_shell_interactive.py
M tests/shell/util.py
13 files changed, 761 insertions(+), 608 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/83/13083/8
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 8
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 8:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/2888/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 8
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 24 Apr 2019 19:00:15 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 9:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4113/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 9
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 30 Apr 2019 05:51:38 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has uploaded a new patch set (#6). ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
IMPALA-7290: part 1: clean up shell tests
This sets up the tests to be extensible to test shell
in both beeswax and HS2 modes.
Testing:
* Add test dimension containing only beeswax in preparation
for HS2 dimension.
* Factor out hardcoded ports.
* Add tests for formatting of all types and NULL values.
* Added testing for floating point output formatting, which does
change as a result of switching to server-side vs client-side
formatting.
* Use unique_database for tests that create tables.
Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
---
M bin/load-data.py
M testdata/bin/create-load-data.sh
M testdata/bin/create-tpcds-testcase-files.sh
M tests/beeswax/impala_beeswax.py
M tests/common/impala_test_suite.py
M tests/common/test_dimensions.py
M tests/custom_cluster/test_client_ssl.py
M tests/custom_cluster/test_shell_interactive.py
M tests/custom_cluster/test_shell_interactive_reconnect.py
M tests/shell/test_shell_commandline.py
M tests/shell/test_shell_interactive.py
M tests/shell/util.py
12 files changed, 751 insertions(+), 599 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/83/13083/6
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 6
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 5: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4053/
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 5
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 23 Apr 2019 21:58:44 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 9: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 9
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 30 Apr 2019 05:51:37 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 5:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/2861/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 5
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 23 Apr 2019 18:07:46 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Hello Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/13083
to look at the new patch set (#7).
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
IMPALA-7290: part 1: clean up shell tests
This sets up the tests to be extensible to test shell
in both beeswax and HS2 modes.
Testing:
* Add test dimension containing only beeswax in preparation
for HS2 dimension.
* Factor out hardcoded ports.
* Add tests for formatting of all types and NULL values.
* Added testing for floating point output formatting, which does
change as a result of switching to server-side vs client-side
formatting.
* Use unique_database for tests that create tables.
Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
---
M bin/load-data.py
M testdata/bin/create-load-data.sh
M testdata/bin/create-tpcds-testcase-files.sh
M tests/beeswax/impala_beeswax.py
M tests/common/impala_test_suite.py
M tests/common/test_dimensions.py
M tests/custom_cluster/test_client_ssl.py
M tests/custom_cluster/test_shell_interactive.py
M tests/custom_cluster/test_shell_interactive_reconnect.py
M tests/shell/test_shell_commandline.py
M tests/shell/test_shell_interactive.py
M tests/shell/util.py
12 files changed, 759 insertions(+), 599 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/83/13083/7
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 7
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 5:
(18 comments)
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/beeswax/impala_beeswax.py
File tests/beeswax/impala_beeswax.py:
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/beeswax/impala_beeswax.py@116
PS5, Line 116:
flake8: E261 at least two spaces before inline comment
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/custom_cluster/test_client_ssl.py
File tests/custom_cluster/test_client_ssl.py:
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/custom_cluster/test_client_ssl.py@221
PS5, Line 221: s
flake8: E501 line too long (104 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py
File tests/shell/test_shell_commandline.py:
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py@33
PS5, Line 33: from util import get_impalad_host_port, get_impalad_host_port, get_shell_cmd
flake8: F811 redefinition of unused 'get_impalad_host_port' from line 33
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py@33
PS5, Line 33: from util import get_impalad_host_port, get_impalad_host_port, get_shell_cmd
flake8: F401 'util.get_shell_cmd' imported but unused
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py@204
PS5, Line 204:
flake8: E203 whitespace before ','
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py@217
PS5, Line 217:
flake8: E203 whitespace before ','
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py@519
PS5, Line 519: F
flake8: E501 line too long (96 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py@642
PS5, Line 642: '
flake8: E131 continuation line unaligned for hanging indent
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_commandline.py@872
PS5, Line 872: u
flake8: E501 line too long (92 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_interactive.py
File tests/shell/test_shell_interactive.py:
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_interactive.py@41
PS5, Line 41: from util import (assert_var_substitution, ImpalaShell, get_impalad_host_port,
flake8: F401 'util.get_impalad_host_port' imported but unused
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_interactive.py@252
PS5, Line 252:
flake8: E203 whitespace before ','
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_interactive.py@451
PS5, Line 451: )
flake8: E501 line too long (91 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/test_shell_interactive.py@463
PS5, Line 463: r
flake8: E501 line too long (92 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/util.py
File tests/shell/util.py:
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/util.py@116
PS5, Line 116: def get_impalad_host_port(vector):
flake8: E302 expected 2 blank lines, found 1
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/util.py@122
PS5, Line 122: def get_impalad_port(vector):
flake8: E302 expected 2 blank lines, found 1
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/util.py@126
PS5, Line 126: def get_shell_cmd(vector):
flake8: E302 expected 2 blank lines, found 1
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/util.py@129
PS5, Line 129: h
flake8: F841 local variable 'host_port' is assigned to but never used
http://gerrit.cloudera.org:8080/#/c/13083/5/tests/shell/util.py@133
PS5, Line 133: def get_open_sessions_metric(vector):
flake8: E302 expected 2 blank lines, found 1
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 5
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 23 Apr 2019 17:23:16 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 7:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4054/ DRY_RUN=true
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 7
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 23 Apr 2019 22:28:56 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Fredy Wijaya (Code Review)" <ge...@cloudera.org>.
Fredy Wijaya has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 8: Code-Review+2
The changes make sense.
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 8
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Mon, 29 Apr 2019 18:10:59 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 9: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 9
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 30 Apr 2019 11:30:44 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 6:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/2864/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 6
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 23 Apr 2019 22:50:04 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 6:
(18 comments)
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/beeswax/impala_beeswax.py
File tests/beeswax/impala_beeswax.py:
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/beeswax/impala_beeswax.py@116
PS6, Line 116:
flake8: E261 at least two spaces before inline comment
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/custom_cluster/test_client_ssl.py
File tests/custom_cluster/test_client_ssl.py:
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/custom_cluster/test_client_ssl.py@221
PS6, Line 221: s
flake8: E501 line too long (104 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py
File tests/shell/test_shell_commandline.py:
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py@33
PS6, Line 33: from util import get_impalad_host_port, get_impalad_host_port, get_shell_cmd
flake8: F811 redefinition of unused 'get_impalad_host_port' from line 33
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py@33
PS6, Line 33: from util import get_impalad_host_port, get_impalad_host_port, get_shell_cmd
flake8: F401 'util.get_shell_cmd' imported but unused
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py@204
PS6, Line 204:
flake8: E203 whitespace before ','
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py@217
PS6, Line 217:
flake8: E203 whitespace before ','
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py@519
PS6, Line 519: F
flake8: E501 line too long (96 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py@642
PS6, Line 642: '
flake8: E131 continuation line unaligned for hanging indent
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_commandline.py@872
PS6, Line 872: u
flake8: E501 line too long (92 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_interactive.py
File tests/shell/test_shell_interactive.py:
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_interactive.py@41
PS6, Line 41: from util import (assert_var_substitution, ImpalaShell, get_impalad_host_port,
flake8: F401 'util.get_impalad_host_port' imported but unused
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_interactive.py@252
PS6, Line 252:
flake8: E203 whitespace before ','
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_interactive.py@451
PS6, Line 451: )
flake8: E501 line too long (91 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/test_shell_interactive.py@463
PS6, Line 463: r
flake8: E501 line too long (92 > 90 characters)
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/util.py
File tests/shell/util.py:
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/util.py@116
PS6, Line 116: def get_impalad_host_port(vector):
flake8: E302 expected 2 blank lines, found 1
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/util.py@122
PS6, Line 122: def get_impalad_port(vector):
flake8: E302 expected 2 blank lines, found 1
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/util.py@126
PS6, Line 126: def get_shell_cmd(vector):
flake8: E302 expected 2 blank lines, found 1
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/util.py@129
PS6, Line 129: h
flake8: F841 local variable 'host_port' is assigned to but never used
http://gerrit.cloudera.org:8080/#/c/13083/6/tests/shell/util.py@133
PS6, Line 133: def get_open_sessions_metric(vector):
flake8: E302 expected 2 blank lines, found 1
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 6
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 23 Apr 2019 22:06:54 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 7:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/2867/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 7
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 23 Apr 2019 23:14:08 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
IMPALA-7290: part 1: clean up shell tests
This sets up the tests to be extensible to test shell
in both beeswax and HS2 modes.
Testing:
* Add test dimension containing only beeswax in preparation
for HS2 dimension.
* Factor out hardcoded ports.
* Add tests for formatting of all types and NULL values.
* Merge date shell test into general type tests.
* Added testing for floating point output formatting, which does
change as a result of switching to server-side vs client-side
formatting.
* Use unique_database for tests that create tables.
Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Reviewed-on: http://gerrit.cloudera.org:8080/13083
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M bin/load-data.py
M testdata/bin/create-load-data.sh
M testdata/bin/create-tpcds-testcase-files.sh
M tests/beeswax/impala_beeswax.py
M tests/common/impala_test_suite.py
M tests/common/test_dimensions.py
M tests/custom_cluster/test_client_ssl.py
M tests/custom_cluster/test_shell_interactive.py
M tests/custom_cluster/test_shell_interactive_reconnect.py
M tests/query_test/test_date_queries.py
M tests/shell/test_shell_commandline.py
M tests/shell/test_shell_interactive.py
M tests/shell/util.py
13 files changed, 761 insertions(+), 608 deletions(-)
Approvals:
Impala Public Jenkins: Looks good to me, approved; Verified
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 10
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
[Impala-ASF-CR] IMPALA-7290: part 1: clean up shell tests
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13083 )
Change subject: IMPALA-7290: part 1: clean up shell tests
......................................................................
Patch Set 7: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/13083
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5ab7f4817e690b7d3be08d71f8f14364b84412
Gerrit-Change-Number: 13083
Gerrit-PatchSet: 7
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 24 Apr 2019 03:36:50 +0000
Gerrit-HasComments: No