Code: 1000, e.code() = 0, e.displayText() = JSONException: JSON:
0. Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xbbad39c in /usr/bin/clickhouse
1. ? @ 0x4eaca2d in /usr/bin/clickhouse
2. DB::FileChecker::load(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned long, std::__1::less<std::__1::basic_string<char, std::
3. DB::FileChecker::update(std::__1::__wrap_iter<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const*> const&, std::__1::__wrap_iter<std::__1::basic_s
4. DB::LogBlockOutputStream::writeSuffix() @ 0x96d2e6b in /usr/bin/clickhouse
5. DB::LogBlockOutputStream::~LogBlockOutputStream() @ 0x96d4ff4 in /usr/bin/clickhouse
6. std::__1::__shared_ptr_emplace<DB::PushingToViewsBlockOutputStream, std::__1::allocator<DB::PushingToViewsBlockOutputStream> >::__on_zero_shared() @ 0x8ad15ba in /usr/bin/clickhouse
7. std::__1::__shared_ptr_emplace<DB::SquashingBlockOutputStream, std::__1::allocator<DB::SquashingBlockOutputStream> >::__on_zero_shared() @ 0x8ad1f42 in /usr/bin/clickhouse
8. std::__1::__shared_ptr_emplace<DB::AddingDefaultBlockOutputStream, std::__1::allocator<DB::AddingDefaultBlockOutputStream> >::__on_zero_shared() @ 0x8ad1b8a in /usr/bin/clickhouse
9. std::__1::__shared_ptr_emplace<DB::CountingBlockOutputStream, std::__1::allocator<DB::CountingBlockOutputStream> >::__on_zero_shared() @ 0x8ad125a in /usr/bin/clickhouse
10. std::__1::__shared_ptr_emplace<DB::PushingToViewsBlockOutputStream, std::__1::allocator<DB::PushingToViewsBlockOutputStream> >::__on_zero_shared() @ 0x8ad156a in /usr/bin/clickhouse
11. std::__1::__shared_ptr_emplace<DB::SquashingBlockOutputStream, std::__1::allocator<DB::SquashingBlockOutputStream> >::__on_zero_shared() @ 0x8ad1f42 in /usr/bin/clickhouse
12. std::__1::__shared_ptr_emplace<DB::AddingDefaultBlockOutputStream, std::__1::allocator<DB::AddingDefaultBlockOutputStream> >::__on_zero_shared() @ 0x8ad1b8a in /usr/bin/clickhouse
13. std::__1::__shared_ptr_emplace<DB::CountingBlockOutputStream, std::__1::allocator<DB::CountingBlockOutputStream> >::__on_zero_shared() @ 0x8ad125a in /usr/bin/clickhouse
14. DB::QueryStatus::releaseQueryStreams() @ 0x8c26b0a in /usr/bin/clickhouse
15. DB::BlockIO::reset() @ 0x89431ef in /usr/bin/clickhouse
16. DB::BlockIO::operator=(DB::BlockIO&&) @ 0x8943338 in /usr/bin/clickhouse
17. DB::QueryState::reset() @ 0x50655e3 in /usr/bin/clickhouse
18. DB::TCPHandler::runImpl() @ 0x505f746 in /usr/bin/clickhouse
19. DB::TCPHandler::run() @ 0x5060489 in /usr/bin/clickhouse
20. Poco::Net::TCPServerConnection::start() @ 0x9c75867 in /usr/bin/clickhouse
21. Poco::Net::TCPServerDispatcher::run() @ 0x9c75c5d in /usr/bin/clickhouse
22. Poco::PooledThread::run() @ 0xbc1c07f in /usr/bin/clickhouse
23. Poco::ThreadImpl::runnableEntry(void*) @ 0xbc192e8 in /usr/bin/clickhouse
24. ? @ 0xbc1aa19 in /usr/bin/clickhouse
25. start_thread @ 0x7ea5 in /usr/lib64/libpthread-2.17.so
26. clone @ 0xfe8dd in /usr/lib64/libc-2.17.so
(version 20.3.12.112)
>clickhouse-client -q "insert to database.table" < data.tsv, а у вас прям вот такой insert на самом деле? или там все же написано insert to database.table FORMAT TSV ? или что?
Обсуждают сегодня