роли https://github.com/nikepan/clickhouse-bulk
встречаю следующее:
DynamicQueryHandler: Code: 27. DB::ParsingException: Cannot parse input: expected 'eof' before: '{"fingerId":"XXX","userId":"XX","url":"","referrer":"XXX","ip":"XXX","userAgent":"XXX': While executing ParallelParsingBlockInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below)
0. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0xb3712fa in /usr/bin/clickhouse
1. DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0xb3c718d in /usr/bin/clickhouse
2. DB::JSONEachRowRowInputFormat::readSuffix() @ 0x169ca284 in /usr/bin/clickhouse
3. DB::IRowInputFormat::generate() @ 0x1696ccce in /usr/bin/clickhouse
4. DB::ISource::tryGenerate() @ 0x168fc2b5 in /usr/bin/clickhouse
5. DB::ISource::work() @ 0x168fbe7a in /usr/bin/clickhouse
6. DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x169f1aac in /usr/bin/clickhouse
7. DB::ParallelParsingInputFormat::parserThreadFunction(std::__1::shared_ptr<DB::ThreadGroupStatus>, unsigned long) @ 0x169f108b in /usr/bin/clickhouse
8. ThreadPoolImpl<ThreadFromGlobalPool>::worker(std::__1::__list_iterator<ThreadFromGlobalPool, void*>) @ 0xb41b38a in /usr/bin/clickhouse
9. ThreadFromGlobalPool::ThreadFromGlobalPool<void ThreadPoolImpl<ThreadFromGlobalPool>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>(void&&, void ThreadPoolImpl<ThreadFromGlobalPool>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()&&...)::'lambda'()::operator()() @ 0xb41d524 in /usr/bin/clickhouse
10. ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0xb418757 in /usr/bin/clickhouse
11. ? @ 0xb41c2dd in /usr/bin/clickhouse
12. ? @ 0x7f44afc4e609 in ?
13. __clone @ 0x7f44afb75293 in ?
(version 22.3.3.44 (official build))
не нашел решения
в какую сторону глядеть?
опыт с КХ достаточно мал
я бы начал с отключения фичи input_format_parallel_parsing arg Enable parallel parsing for some data formats.
Обсуждают сегодня