Skip to content

data load with POST stack traced #17

@shinguz

Description

@shinguz

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:

  1. clickhouse-server(StackTrace::StackTrace()+0xe) [0xfcad5e]
  2. clickhouse-server(DB::parseQuery(DB::IParser&, char const_, char const_, std::string const&)+0x194) [0x127d114]
  3. clickhouse-server() [0x1356c88]
  4. clickhouse-server(DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, DB::Context&, std::shared_ptrDB::IBlockInputStream&, std::function<void (std::string const&)>)+0x20e) [0x135943e]
  5. clickhouse-server(DB::HTTPHandler::processQuery(Poco::Net::HTTPServerRequest&, Poco::Net::HTTPServerResponse&, DB::HTTPHandler::Output&)+0x1024) [0xf6f294]
  6. clickhouse-server(DB::HTTPHandler::handleRequest(Poco::Net::HTTPServerRequest&, Poco::Net::HTTPServerResponse&)+0x8a) [0xf702ca]
  7. clickhouse-server(Poco::Net::HTTPServerConnection::run()+0x26a) [0x2a7716a]
  8. clickhouse-server(Poco::Net::TCPServerConnection::start()+0x7) [0x2a66d37]
  9. clickhouse-server(Poco::Net::TCPServerDispatcher::run()+0x107) [0x2a71a37]
  10. clickhouse-server(Poco::PooledThread::run()+0x7f) [0x305a80f]
  11. clickhouse-server(Poco::ThreadImpl::runnableEntry(void*)+0x87) [0x3018287]
  12. /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7eff1f513182]
  13. /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7eff1eb2e47d]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions