[
https://issues.apache.org/jira/browse/IMPALA-14398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019384#comment-18019384
]
Riza Suminto commented on IMPALA-14398:
---------------------------------------
The tests pass OK even after load_unique_col_metadata is commented.
This is a pretty old code. Perhaps, in the past, persist_unique_col_metadata is
expected to be called before any load_unique_col_metadata. But today, I don't
see any call to persist_unique_col_metadata today.
> test_load_table_with_primary_key_attr failed in S3 build
> --------------------------------------------------------
>
> Key: IMPALA-14398
> URL: https://issues.apache.org/jira/browse/IMPALA-14398
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog
> Reporter: Zoltán Borók-Nagy
> Priority: Major
> Labels: broken-build
>
> h3. Error Message
> {noformat}
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/repos/Impala/tests/metadata/test_show_create_table.py:310:
> in test_load_table_with_primary_key_attr table =
> impala_testinfra_cursor.describe_table(table_primary_keys_map['table'])
> comparison/db_connection.py:426: in describe_table
> self.load_unique_col_metadata(table) comparison/db_connection.py:546: in
> load_unique_col_metadata with
> closing(shelve.open('/tmp/query_generator.shelve')) as store:
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/Impala-Toolchain/toolchain-packages-gcc10.4.0/python-3.8.18/lib/python3.8/shelve.py:243:
> in open return DbfilenameShelf(filename, flag, protocol, writeback)
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/Impala-Toolchain/toolchain-packages-gcc10.4.0/python-3.8.18/lib/python3.8/shelve.py:227:
> in __init__ Shelf.__init__(self, dbm.open(filename, flag), protocol,
> writeback)
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/Impala-Toolchain/toolchain-packages-gcc10.4.0/python-3.8.18/lib/python3.8/dbm/__init__.py:89:
> in open raise error[0]("db type could not be determined") E dbm.error: db
> type could not be determined{noformat}
> h3. Stacktrace
> {noformat}
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/repos/Impala/tests/metadata/test_show_create_table.py:310:
> in test_load_table_with_primary_key_attr
> table =
> impala_testinfra_cursor.describe_table(table_primary_keys_map['table'])
> comparison/db_connection.py:426: in describe_table
> self.load_unique_col_metadata(table)
> comparison/db_connection.py:546: in load_unique_col_metadata
> with closing(shelve.open('/tmp/query_generator.shelve')) as store:
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/Impala-Toolchain/toolchain-packages-gcc10.4.0/python-3.8.18/lib/python3.8/shelve.py:243:
> in open
> return DbfilenameShelf(filename, flag, protocol, writeback)
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/Impala-Toolchain/toolchain-packages-gcc10.4.0/python-3.8.18/lib/python3.8/shelve.py:227:
> in __init__
> Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback)
> /data/jenkins/workspace/impala-cdw-master-staging-core-s3/Impala-Toolchain/toolchain-packages-gcc10.4.0/python-3.8.18/lib/python3.8/dbm/__init__.py:89:
> in open
> raise error[0]("db type could not be determined")
> E dbm.error: db type could not be determined{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]