-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Description
cat /tmp/data_dump.sql | POST 'http://localhost:8123/'
Code: 62, e.displayText() = DB::Exception: Syntax error: failed at end of query.
Expected CHECK, e.what() = DB::Exception, Stack trace:
- clickhouse-server(StackTrace::StackTrace()+0xe) [0xfcad5e]
- clickhouse-server(DB::parseQuery(DB::IParser&, char const_, char const_, std::string const&)+0x194) [0x127d114]
- clickhouse-server() [0x1356c88]
- clickhouse-server(DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, DB::Context&, std::shared_ptrDB::IBlockInputStream&, std::function<void (std::string const&)>)+0x20e) [0x135943e]
- clickhouse-server(DB::HTTPHandler::processQuery(Poco::Net::HTTPServerRequest&, Poco::Net::HTTPServerResponse&, DB::HTTPHandler::Output&)+0x1024) [0xf6f294]
- clickhouse-server(DB::HTTPHandler::handleRequest(Poco::Net::HTTPServerRequest&, Poco::Net::HTTPServerResponse&)+0x8a) [0xf702ca]
- clickhouse-server(Poco::Net::HTTPServerConnection::run()+0x26a) [0x2a7716a]
- clickhouse-server(Poco::Net::TCPServerConnection::start()+0x7) [0x2a66d37]
- clickhouse-server(Poco::Net::TCPServerDispatcher::run()+0x107) [0x2a71a37]
- clickhouse-server(Poco::PooledThread::run()+0x7f) [0x305a80f]
- clickhouse-server(Poco::ThreadImpl::runnableEntry(void*)+0x87) [0x3018287]
- /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7eff1f513182]
- /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7eff1eb2e47d]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels