через ODBC() на оракл, получил такую ошибку: e.displayText() = DB::Exception: Cannot read all data. Bytes read: 83. Bytes expected: 116., Stack trace (when copying this message, always include the lines below):
0. Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x13cd24bc in /usr/bin/clickhouse
1. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xa4346c9 in /usr/bin/clickhouse
2. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0xa44f337 in /usr/bin/clickhouse
3. DB::DataTypeString::deserializeBinary(DB::IColumn&, DB::ReadBuffer&) const @ 0x10b2e684 in /usr/bin/clickhouse
4. DB::BinaryRowInputFormat::readRow(std::__1::vector<COW<DB::IColumn>::mutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::mutable_ptr<DB::IColumn> > >&, DB::RowReadExtension&) @ 0x112df64f in /usr/bin/clickhouse
5. DB::IRowInputFormat::generate() @ 0x11845449 in /usr/bin/clickhouse
6. DB::ISource::work() @ 0x112719d7 in /usr/bin/clickhouse
7. DB::InputStreamFromInputFormat::readImpl() @ 0x11245aa5 in /usr/bin/clickhouse
8. DB::IBlockInputStream::read() @ 0x10a7675d in /usr/bin/clickhouse
9. ? @ 0xe574161 in /usr/bin/clickhouse
10. DB::IBlockInputStream::read() @ 0x10a7675d in /usr/bin/clickhouse
11. DB::HashedDictionary::loadData() @ 0xe2a02b9 in /usr/bin/clickhouse
12. DB::HashedDictionary::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::__1::unique_ptr<DB::IDictionarySource, std::__1::default_delete<DB::IDictionarySource> >, DB::ExternalLoadableLifetime, bool, bool, std::__1::shared_ptr<DB::Block>) @ 0xe2a314b in /usr/bin/clickhouse
13. ? @ 0xe2a34f3 in /usr/bin/clickhouse
14. ? @ 0xe2a37b9 in /usr/bin/clickhouse
15. DB::DictionaryFactory::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Poco::Util::AbstractConfiguration const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context const&, bool) const @ 0x108c57ac in /usr/bin/clickhouse
16. DB::ExternalDictionariesLoader::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Poco::Util::AbstractConfiguration const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const @ 0x10bd02aa in /usr/bin/clickhouse
17. DB::ExternalLoader::createObject(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::ExternalLoader::ObjectConfig const&, std::__1::shared_ptr<DB::IExternalLoadable const> const&) const @ 0x10bd0f00 in /usr/bin/clickhouse
18. DB::ExternalLoader::LoadingDispatcher::doLoading(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool) @ 0x10bd9f87 in /usr/bin/clickhouse
19. ThreadFromGlobalPool::ThreadFromGlobalPool<void (DB::ExternalLoader::LoadingDispatcher::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool), DB::ExternalLoader::LoadingDispatcher*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, unsigned long&, bool&, unsigned long&, bool>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, bool, unsigned long, bool), DB::ExternalLoader::LoadingDispatcher*&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, unsigned long&, bool&, unsigned long&, bool&&)::'lambda'()::operator()() const @ 0x10bd4195 in /usr/bin/clickhouse
20. ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0xa43cc4d in /usr/bin/clickhouse
выгядит как чистая бага при чтении из ODBC, сможете создать минимально воспроизводимый пример на docker-compose и создать issue на github?
Спасибо, но оказалось что это моя ошибка, заменил LAYOUT(HASHED()) на LAYOUT(complex_key_hashed()) и все заработало
это не савсем ваша ошибка, с таким стектрейсом не должно было валиться
Обсуждают сегодня