-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Description
Run this query through http post interface
CREATE TABLE default.TestTimes (
EventDate Date,
info_id UInt32,
test_id UInt32
) ENGINE = MergeTree(EventDate, info_id, 8192)
got this response
Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 134 (line 5, col 42): 8192)
, expected identifier, e.what() = DB::Exception, Stack trace:
0. clickhouse-server(StackTrace::StackTrace()+0xe) [0x10a385e]
1. clickhouse-server(DB::parseQuery(DB::IParser&, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x9e) [0x134442e]
2. clickhouse-server() [0x141406d]
3. clickhouse-server(DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, DB::Context&, std::shared_ptr<DB::IBlockInputStream>&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)+0x210) [0x14161c0]
4. clickhouse-server(DB::HTTPHandler::processQuery(Poco::Net::HTTPServerRequest&, Poco::Net::HTTPServerResponse&, DB::HTTPHandler::Output&)+0x129b) [0x104cf7b]
5. clickhouse-server(DB::HTTPHandler::handleRequest(Poco::Net::HTTPServerRequest&, Poco::Net::HTTPServerResponse&)+0x78) [0x104db38]
6. clickhouse-server(Poco::Net::HTTPServerConnection::run()+0x298) [0x2a8cb38]
7. clickhouse-server(Poco::Net::TCPServerConnection::start()+0x7) [0x2a6fed7]
8. clickhouse-server(Poco::Net::TCPServerDispatcher::run()+0x11f) [0x2a6c70f]
9. clickhouse-server(Poco::PooledThread::run()+0x97) [0x303e927]
10. clickhouse-server(Poco::ThreadImpl::runnableEntry(void*)+0x87) [0x306e227]
11. /lib64/libpthread.so.0(+0x80a4) [0x7f02cfe800a4]
12. /lib64/libc.so.6(clone+0x6d) [0x7f02cf23ffed]
Parsers fails on inf_id as identifier also
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels