You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Riza Suminto (Code Review)" <ge...@cloudera.org> on 2024/08/27 00:25:00 UTC

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Riza Suminto has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21726


Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................

IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py

test_nested_types.py declare 'orc_schema_resolution' dimension, but does
not actually exercise it. None of the test actively inserting
'orc_schema_resolution' dimension value into
vector.get_value('exec_dimension').

This patch fix that issue by declaring 'orc_schema_resolution' option
using helper function add_exec_option_dimension() to automatically
insert it into 'exec_option' dimension. Test classes also reorganized to
reduce test skipping and deepcopy-ing.

Following are notable changes:
- Use 'unique_database' in test_struct_in_select_list to avoid collision
  during view creation.
- Drop unused 'unique_database' fixture in
  TestNestedCollectionsInSelectList.
- test_map_null_keys does not have 'mt_dop' dimension anymore since it
  only test how NULL map key are displayed.
- Created common base class TestParquetArrayEncodingsBase for
  TestParquetArrayEncodings and TestParquetArrayEncodingsAmbiguous. The
  latter does not run with 'parquet_array_resolution' anymore since that
  query option is set directly within parquet-ambiguous-list-modern.test
  and parquet-ambiguous-list-legacy.test files.
- Make ImpalaTestMatrix.add_dimensions() call
  ImpalaTestMatrix.clear_dimension() if given dimension.name is
  'exec_option' and independent_exec_option_names is not empty.

The reduction of test count are follows:
Before patch:
168 core tests, 571 exhaustive tests
After patch:
161 core tests, 529 exhaustive tests

Testing:
- Ran and pass test_nested_types.py in exhaustive exploration.
- Verified that no WARNING log printed by
  ImpalaTestSuite.validate_exec_option_dimension()

Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
---
M testdata/workloads/functional-query/queries/QueryTest/struct-in-select-list.test
M tests/common/test_vector.py
M tests/query_test/test_nested_types.py
3 files changed, 144 insertions(+), 107 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/21726/1
-- 
To view, visit http://gerrit.cloudera.org:8080/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/16809/ : 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/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Tue, 27 Aug 2024 15:56:25 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Hello Daniel Becker, Gabor Kaszab, Michael Smith, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/21726

to look at the new patch set (#4).

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................

IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py

test_nested_types.py declare 'orc_schema_resolution' dimension, but does
not actually exercise it. None of the test actively inserting
'orc_schema_resolution' dimension value into
vector.get_value('exec_dimension').

This patch fix that issue by declaring 'orc_schema_resolution' option
using helper function add_exec_option_dimension() to automatically
insert it into 'exec_option' dimension. Test classes also reorganized to
reduce test skipping and deepcopy-ing.

Following are notable changes:
- Use 'unique_database' in test_struct_in_select_list to avoid collision
  during view creation.
- Drop unused 'unique_database' fixture in
  TestNestedCollectionsInSelectList.
- test_map_null_keys does not have 'mt_dop' dimension anymore since it
  only test how NULL map key are displayed.
- Created common base class TestParquetArrayEncodingsBase for
  TestParquetArrayEncodings and TestParquetArrayEncodingsAmbiguous. The
  latter does not run with 'parquet_array_resolution' anymore since that
  query option is set directly within parquet-ambiguous-list-modern.test
  and parquet-ambiguous-list-legacy.test files.
- Make ImpalaTestMatrix.add_dimensions() call
  ImpalaTestMatrix.clear_dimension() if given dimension.name is
  'exec_option' and independent_exec_option_names is not empty.

The reduction of test count are follows:
Before patch:
168 core tests, 571 exhaustive tests
After patch:
161 core tests, 529 exhaustive tests

Testing:
- Ran and pass test_nested_types.py in exhaustive exploration.
- Verified that no WARNING log printed by
  ImpalaTestSuite.validate_exec_option_dimension()

Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
---
M testdata/workloads/functional-query/queries/QueryTest/struct-in-select-list.test
M tests/common/test_vector.py
M tests/query_test/test_nested_types.py
3 files changed, 156 insertions(+), 110 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/21726/4
-- 
To view, visit http://gerrit.cloudera.org:8080/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 1: Verified+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Tue, 27 Aug 2024 07:02:19 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 4: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Thu, 29 Aug 2024 15:54:56 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Riza Suminto has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 2:

(4 comments)

Thank you for the review.

http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py
File tests/query_test/test_nested_types.py:

http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@133
PS1, Line 133:             'mt_dop': MT_DOP_DIMS}))
> Can't MT_DOP and ORC_RESOLUTION_DIM be added to the dict in the call to cre
I can move MT_DOP inside create_exec_option_dimension_from_dict, but not ORC_RESOLUTION_DIM, because orc_schema_resolution_constraint() look for the value in vector.get_value('orc_schema_resolution') . If declaring option using create_exec_option_dimension_from_dict(), the value exist directly in vector.get_value('exec_option')['orc_schema_resolution'].


http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@404
PS1, Line 404:     super(TestNestedTypesNoMtDopOrc, cls).add_test_dimensions()
> This test now doesn't have the exec options it used to, set on L182: disabl
It actually still have it,because, underneath, the superclass ImpalaTestSuite.add_test_dimensions() calls create_exec_option_dimension() that is superset of dictionary in L182.

ALL_BATCH_SIZES = [0]
ALL_CLUSTER_SIZES = [0, 1]
SINGLE_NODE_ONLY = [1]
ALL_NODES_ONLY = [0]
ALL_DISABLE_CODEGEN_OPTIONS = [True, False]

def create_exec_option_dimension(cluster_sizes=ALL_NODES_ONLY,
                                 disable_codegen_options=ALL_DISABLE_CODEGEN_OPTIONS,
                                 batch_sizes=ALL_BATCH_SIZES,
                                 sync_ddl=None, exec_single_node_option=[0],
                                 # We already run with codegen on and off explicitly -
                                 # don't need automatic toggling.
                                 disable_codegen_rows_threshold_options=[0],
                                 debug_action_options=None):

The next call to add_exec_option_dimension(cls, 'orc_schema_resolution', ORC_RESOLUTION_DIMS) does not override the existing 'exec_option' dimension, only increasing it later in vector generation.


http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@446
PS1, Line 446: par
> Shouldn't it be Parquet?
Done


http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@455
PS1, Line 455:   def get_workload(self):
> Do we need this and the 'orc_schema_resolution_constraint' if it is only ru
Removed.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Tue, 27 Aug 2024 15:29:33 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 6: Verified+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 6
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Sat, 31 Aug 2024 06:11:09 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Hello Daniel Becker, Gabor Kaszab, Michael Smith, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/21726

to look at the new patch set (#3).

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................

IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py

test_nested_types.py declare 'orc_schema_resolution' dimension, but does
not actually exercise it. None of the test actively inserting
'orc_schema_resolution' dimension value into
vector.get_value('exec_dimension').

This patch fix that issue by declaring 'orc_schema_resolution' option
using helper function add_exec_option_dimension() to automatically
insert it into 'exec_option' dimension. Test classes also reorganized to
reduce test skipping and deepcopy-ing.

Following are notable changes:
- Use 'unique_database' in test_struct_in_select_list to avoid collision
  during view creation.
- Drop unused 'unique_database' fixture in
  TestNestedCollectionsInSelectList.
- test_map_null_keys does not have 'mt_dop' dimension anymore since it
  only test how NULL map key are displayed.
- Created common base class TestParquetArrayEncodingsBase for
  TestParquetArrayEncodings and TestParquetArrayEncodingsAmbiguous. The
  latter does not run with 'parquet_array_resolution' anymore since that
  query option is set directly within parquet-ambiguous-list-modern.test
  and parquet-ambiguous-list-legacy.test files.
- Make ImpalaTestMatrix.add_dimensions() call
  ImpalaTestMatrix.clear_dimension() if given dimension.name is
  'exec_option' and independent_exec_option_names is not empty.

The reduction of test count are follows:
Before patch:
168 core tests, 571 exhaustive tests
After patch:
161 core tests, 529 exhaustive tests

Testing:
- Ran and pass test_nested_types.py in exhaustive exploration.
- Verified that no WARNING log printed by
  ImpalaTestSuite.validate_exec_option_dimension()

Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
---
M testdata/workloads/functional-query/queries/QueryTest/struct-in-select-list.test
M tests/common/test_vector.py
M tests/query_test/test_nested_types.py
3 files changed, 156 insertions(+), 110 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/21726/3
-- 
To view, visit http://gerrit.cloudera.org:8080/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 6:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/10923/ DRY_RUN=false


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 6
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Sat, 31 Aug 2024 01:06:45 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/16801/ : 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/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Tue, 27 Aug 2024 00:56:38 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 3:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/16828/ : 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/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Wed, 28 Aug 2024 21:50:46 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

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/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................

IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py

test_nested_types.py declare 'orc_schema_resolution' dimension, but does
not actually exercise it. None of the test actively inserting
'orc_schema_resolution' dimension value into
vector.get_value('exec_dimension').

This patch fix that issue by declaring 'orc_schema_resolution' option
using helper function add_exec_option_dimension() to automatically
insert it into 'exec_option' dimension. Test classes also reorganized to
reduce test skipping and deepcopy-ing.

Following are notable changes:
- Use 'unique_database' in test_struct_in_select_list to avoid collision
  during view creation.
- Drop unused 'unique_database' fixture in
  TestNestedCollectionsInSelectList.
- test_map_null_keys does not have 'mt_dop' dimension anymore since it
  only test how NULL map key are displayed.
- Created common base class TestParquetArrayEncodingsBase for
  TestParquetArrayEncodings and TestParquetArrayEncodingsAmbiguous. The
  latter does not run with 'parquet_array_resolution' anymore since that
  query option is set directly within parquet-ambiguous-list-modern.test
  and parquet-ambiguous-list-legacy.test files.
- Make ImpalaTestMatrix.add_dimensions() call
  ImpalaTestMatrix.clear_dimension() if given dimension.name is
  'exec_option' and independent_exec_option_names is not empty.

The reduction of test count are follows:
Before patch:
168 core tests, 571 exhaustive tests
After patch:
161 core tests, 529 exhaustive tests

Testing:
- Ran and pass test_nested_types.py in exhaustive exploration.
- Verified that no WARNING log printed by
  ImpalaTestSuite.validate_exec_option_dimension()

Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Reviewed-on: http://gerrit.cloudera.org:8080/21726
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M testdata/workloads/functional-query/queries/QueryTest/struct-in-select-list.test
M tests/common/test_vector.py
M tests/query_test/test_nested_types.py
3 files changed, 156 insertions(+), 110 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 7
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 5:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/10920/ DRY_RUN=false


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 5
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Thu, 29 Aug 2024 15:55:15 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Daniel Becker (Code Review)" <ge...@cloudera.org>.
Daniel Becker has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 1:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py
File tests/query_test/test_nested_types.py:

http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@133
PS1, Line 133:     add_exec_option_dimension(cls, 'mt_dop', MT_DOP_DIMS)
Can't MT_DOP and ORC_RESOLUTION_DIM be added to the dict in the call to create_exec_option_dimension_from_dict()?
See also L189 and L222.


http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@404
PS1, Line 404:   def test_map_null_keys(self, vector):
This test now doesn't have the exec options it used to, set on L182: disable_codegen, disable_codegen_rows_threshold and exec_single_node_rows_threshold.


http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@446
PS1, Line 446: ORC
Shouldn't it be Parquet?


http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@455
PS1, Line 455:     add_exec_option_dimension(cls, 'orc_schema_resolution', ORC_RESOLUTION_DIMS)
Do we need this and the 'orc_schema_resolution_constraint' if it is only run with Parquet?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Tue, 27 Aug 2024 14:13:42 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Riza Suminto has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/21726/2/tests/common/test_vector.py
File tests/common/test_vector.py:

http://gerrit.cloudera.org:8080/#/c/21726/2/tests/common/test_vector.py@133
PS2, Line 133:     self.dimensions[dimension.name] = dimension
> Should we warn when we do this? Seems like a test config mistake if we're r
Make sense. Added WARNING log if removal happens here.
TestParquetArrayEncodingsAmbiguous also updated to simply clear 'parquet_array_resolution' from ImpalaTestMatrix.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Wed, 28 Aug 2024 21:26:20 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Riza Suminto has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 5:

> Patch Set 5: Verified-1
> 
> Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/10920/

This looks like a flaky test in test_analytic_fns

query_test/test_queries.py:103: in test_analytic_fns

Will try rerun the test.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 5
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Sat, 31 Aug 2024 01:05:57 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 1:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/10901/ DRY_RUN=true


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Tue, 27 Aug 2024 01:55:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Daniel Becker (Code Review)" <ge...@cloudera.org>.
Daniel Becker has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 2: Code-Review+1

(2 comments)

http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py
File tests/query_test/test_nested_types.py:

http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@133
PS1, Line 133:             'mt_dop': MT_DOP_DIMS}))
> I can move MT_DOP inside create_exec_option_dimension_from_dict, but not OR
Thanks, then I think it's good to move MT_DOP inside the dict and leave ORC_SCHEMA_RESOLUTION as it is now.


http://gerrit.cloudera.org:8080/#/c/21726/1/tests/query_test/test_nested_types.py@404
PS1, Line 404:     super(TestNestedTypesNoMtDopOrc, cls).add_test_dimensions()
> It actually still have it,because, underneath, the superclass ImpalaTestSui
You're right, thanks.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Wed, 28 Aug 2024 09:30:47 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Daniel Becker (Code Review)" <ge...@cloudera.org>.
Daniel Becker has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 4: Code-Review+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Thu, 29 Aug 2024 08:55:19 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 4:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/16829/ : 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/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Wed, 28 Aug 2024 21:56:29 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 5: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 5
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Thu, 29 Aug 2024 15:55:14 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Hello Daniel Becker, Gabor Kaszab, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/21726

to look at the new patch set (#2).

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................

IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py

test_nested_types.py declare 'orc_schema_resolution' dimension, but does
not actually exercise it. None of the test actively inserting
'orc_schema_resolution' dimension value into
vector.get_value('exec_dimension').

This patch fix that issue by declaring 'orc_schema_resolution' option
using helper function add_exec_option_dimension() to automatically
insert it into 'exec_option' dimension. Test classes also reorganized to
reduce test skipping and deepcopy-ing.

Following are notable changes:
- Use 'unique_database' in test_struct_in_select_list to avoid collision
  during view creation.
- Drop unused 'unique_database' fixture in
  TestNestedCollectionsInSelectList.
- test_map_null_keys does not have 'mt_dop' dimension anymore since it
  only test how NULL map key are displayed.
- Created common base class TestParquetArrayEncodingsBase for
  TestParquetArrayEncodings and TestParquetArrayEncodingsAmbiguous. The
  latter does not run with 'parquet_array_resolution' anymore since that
  query option is set directly within parquet-ambiguous-list-modern.test
  and parquet-ambiguous-list-legacy.test files.
- Make ImpalaTestMatrix.add_dimensions() call
  ImpalaTestMatrix.clear_dimension() if given dimension.name is
  'exec_option' and independent_exec_option_names is not empty.

The reduction of test count are follows:
Before patch:
168 core tests, 571 exhaustive tests
After patch:
161 core tests, 529 exhaustive tests

Testing:
- Ran and pass test_nested_types.py in exhaustive exploration.
- Verified that no WARNING log printed by
  ImpalaTestSuite.validate_exec_option_dimension()

Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
---
M testdata/workloads/functional-query/queries/QueryTest/struct-in-select-list.test
M tests/common/test_vector.py
M tests/query_test/test_nested_types.py
3 files changed, 151 insertions(+), 110 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/21726/2
-- 
To view, visit http://gerrit.cloudera.org:8080/21726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 4: Code-Review+1

(1 comment)

http://gerrit.cloudera.org:8080/#/c/21726/2/tests/common/test_vector.py
File tests/common/test_vector.py:

http://gerrit.cloudera.org:8080/#/c/21726/2/tests/common/test_vector.py@133
PS2, Line 133:     self.dimensions[dimension.name] = dimension
> Make sense. Added WARNING log if removal happens here.
That seems clearer, thanks.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Wed, 28 Aug 2024 21:27:11 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 5: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/10920/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 5
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Thu, 29 Aug 2024 20:56:48 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/21726/2/tests/common/test_vector.py
File tests/common/test_vector.py:

http://gerrit.cloudera.org:8080/#/c/21726/2/tests/common/test_vector.py@133
PS2, Line 133:         self.clear_dimension(name)
Should we warn when we do this? Seems like a test config mistake if we're running into it.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Wed, 28 Aug 2024 20:47:07 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13330: Fix orc schema resolution in test nested types.py

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21726 )

Change subject: IMPALA-13330: Fix orc_schema_resolution in test_nested_types.py
......................................................................


Patch Set 6: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib958cd34a56c949190b4f22e5da5dad2c0de25ff
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 6
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <ga...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Comment-Date: Sat, 31 Aug 2024 01:06:44 +0000
Gerrit-HasComments: No