Skip to content

Test test_database_glue/test.py::test_create_table_engine_backend_mismatch_rejected is failed #2815

Open

Description

@ianton-ru

Test test_database_glue/test.py::test_create_table_engine_backend_mismatch_rejected is failed after #2792

https://altinity-build-artifacts.s3.amazonaws.com/json.html?PR=2808&sha=bf4a184aad4cce019f909c2ba89805721671e26b&name_0=PR&name_1=Integration%20tests%20%28amd_asan_ubsan%2C%20db%20disk%2C%20old%20analyzer%2C%201%2F8%29

File: test_database_glue/test.py:1062 - in test_create_table_engine_backend_mismatch_rejected
    assert (
E   AssertionError: Received exception from server (version 26.8.34):
E     Code: 36. DB::Exception: Received from 172.16.1.11:9000. DB::Exception: Table setting `disk` differs from its value in this DataLakeCatalog. The table is reopened with the database settings, so the table-level value would be lost. Stack trace:
E     
E     0. contrib/llvm-project/libcxx/include/__exception/exception.h:115:14: Poco::Exception::Exception(String&&, int) @ 0x0000000066c00bc0
E     1. src/Common/Exception.cpp:164:7: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000311dbdbe
E     2. src/Common/Exception.h:201:100: DB::Exception::Exception(String&&, int, String, bool) @ 0x00000000200b4bca
E     3. src/Common/Exception.h:57:54: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000200b353e
E     4. src/Common/Exception.h:219:77: DB::Exception::Exception<String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type>, String const&) @ 0x00000000200cd0b4
E     5. src/Databases/DataLake/DatabaseDataLake.cpp:1213:23: DB::DatabaseDataLake::validateCreateTableEngine(DB::ASTStorage const&, std::shared_ptr<DB::Context const>) const @ 0x0000000040aa681e
E     6. src/Interpreters/InterpreterCreateQuery.cpp:2111:23: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x0000000046ab7054
E     7. src/Interpreters/InterpreterCreateQuery.cpp:3831:12: DB::InterpreterCreateQuery::execute() @ 0x0000000046aeae08
E     8. src/Interpreters/executeQuery.cpp:3145:40: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>&, boost::intrusive_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::function<void ()>, DB::QueryResultDetails&) @ 0x00000000479a80f5
E     9. src/Interpreters/executeQuery.cpp:3649:11: DB::executeQuery(std::basic_string_view<char, std::char_traits<char>>, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000004799c17b
E     10. src/Server/TCPHandler.cpp:949:68: DB::TCPHandler::runImpl() @ 0x00000000529596f3
E     11. src/Server/TCPHandler.cpp:3505:9: DB::TCPHandler::run() @ 0x00000000529a6b69
E     12. base/poco/Net/src/TCPServerConnection.cpp:40:3: Poco::Net::TCPServerConnection::start() @ 0x0000000066dde32f
E     13. base/poco/Net/src/TCPServerDispatcher.cpp:115:42: Poco::Net::TCPServerDispatcher::run() @ 0x0000000066ddf19b
E     14. base/poco/Foundation/src/ThreadPool.cpp:207:14: Poco::PooledThread::run() @ 0x0000000066cde55e
E     15. base/poco/Foundation/src/Thread_POSIX.cpp:341:27: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000066cd75f0
E     16. asan_thread_start(void*) @ 0x0000000020052401
E     17. start_thread @ 0x0000000000094a83
E     18. __GI___clone3 @ 0x0000000000126890
E     . (BAD_ARGUMENTS)
E     (query: CREATE TABLE test.`test_engine_backend_mismatch_528d6e6e-cba6-4cb4-b5e2-90a671b1dd79_namespace.mismatch` (x String) ENGINE = Iceberg('/var/lib/clickhouse/user_files/tbl/') SETTINGS disk = 'local_blob_disk')
E     
E   assert "would be reopened with the catalog's storage backend and become unreadable" in "Received exception from server (version 26.8.34):\nCode: 36. DB::Exception: Received from 172.16.1.11:9000. DB::Exception: Table setting `disk` differs from its value in this DataLakeCatalog. The table is reopened with the database settings, so the table-level value would be lost. Stack trace:\n\n0. contrib/llvm-project/libcxx/include/__exception/exception.h:115:14: Poco::Exception::Exception(String&&, int) @ 0x0000000066c00bc0\n1. src/Common/Exception.cpp:164:7: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000311dbdbe\n2. src/Common/Exception.h:201:100: DB::Exception::Exception(String&&, int, String, bool) @ 0x00000000200b4bca\n3. src/Common/Exception.h:57:54: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000200b353e\n4. src/Common/Exception.h:219:77: DB::Exception::Exception<String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type>, String const&) @ 0x00000000200cd0b4\n5. src/Databases/DataLake/DatabaseDataLake.cpp:1213:23: DB::DatabaseDataLake::validateCreateTableEngine(DB::ASTStorage const&, std::shared_ptr<DB::Context const>) const @ 0x0000000040aa681e\n6. src/Interpreters/InterpreterCreateQuery.cpp:2...0f5\n9. src/Interpreters/executeQuery.cpp:3649:11: DB::executeQuery(std::basic_string_view<char, std::char_traits<char>>, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000004799c17b\n10. src/Server/TCPHandler.cpp:949:68: DB::TCPHandler::runImpl() @ 0x00000000529596f3\n11. src/Server/TCPHandler.cpp:3505:9: DB::TCPHandler::run() @ 0x00000000529a6b69\n12. base/poco/Net/src/TCPServerConnection.cpp:40:3: Poco::Net::TCPServerConnection::start() @ 0x0000000066dde32f\n13. base/poco/Net/src/TCPServerDispatcher.cpp:115:42: Poco::Net::TCPServerDispatcher::run() @ 0x0000000066ddf19b\n14. base/poco/Foundation/src/ThreadPool.cpp:207:14: Poco::PooledThread::run() @ 0x0000000066cde55e\n15. base/poco/Foundation/src/Thread_POSIX.cpp:341:27: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000066cd75f0\n16. asan_thread_start(void*) @ 0x0000000020052401\n17. start_thread @ 0x0000000000094a83\n18. __GI___clone3 @ 0x0000000000126890\n. (BAD_ARGUMENTS)\n(query: CREATE TABLE test.`test_engine_backend_mismatch_528d6e6e-cba6-4cb4-b5e2-90a671b1dd79_namespace.mismatch` (x String) ENGINE = Iceberg('/var/lib/clickhouse/user_files/tbl/') SETTINGS disk = 'local_blob_disk')\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions