[ 
https://issues.apache.org/jira/browse/IMPALA-14333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019897#comment-18019897
 ] 

ASF subversion and git services commented on IMPALA-14333:
----------------------------------------------------------

Commit 968559da26bbea5a54987c6c2fafb62a03fbaabe in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=968559da2 ]

IMPALA-14398: Deflake test_load_table_with_primary_key_attr

test_load_table_with_primary_key_attr has been intermittently fail with
following error message since Python3 switch in IMPALA-14333.

dbm.error: db type could not be determined

Error happen inside load_unique_col_metadata. But both
load_unique_col_metadata and persist_unique_col_metadata are seemingly
unused anymore.

While the root cause is still unknown, commenting
load_unique_col_metadata in db_connection.py can make the tests pass.
Tests are not affected because the they do not assert against any unique
columns. This patch implement that workaround until we can revisit the
issue with query generator infrastructure.

Fix few flake8 warnings in db_connection.py.

Testing:
Loop and pass test_show_create_table 10 times using downstream jenkins.

Change-Id: I2caf6b9cc5a4f06237323cb32bbd47afef576fa1
Reviewed-on: http://gerrit.cloudera.org:8080/23412
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Adjust some pytest files to be Python3 compatible.
> --------------------------------------------------
>
>                 Key: IMPALA-14333
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14333
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>            Reporter: Riza Suminto
>            Assignee: Riza Suminto
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> Running exhaustive tests with env var IMPALA_USE_PYTHON3_TESTS=true reveals 
> some tests that require adjustment.
> This Jira is filed to continue migrating Impala test infrastructure to 
> Python3. The goal is to switch IMPALA_USE_PYTHON3_TESTS=true by default.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to