runlog20201223.log 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. [2020-12-23 19:17:32,948] - [INFO] - write pid 5464 ...
  2. [2020-12-23 19:17:32,954] - [INFO] - server start, listening on port 8008
  3. [2020-12-23 19:17:37,549] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (::1)
  4. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='::1')
  5. Traceback (most recent call last):
  6. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  7. result = method(*self.path_args, **self.path_kwargs)
  8. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 24, in post
  9. data=get_pitcher_panel_channel(pitcher, channel, start, end, page, page_size, order_by, order)
  10. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 31, in get_pitcher_panel_channel
  11. data=ck.execute(sql)
  12. File "D:\code\QcWebServer\model\DataBaseUtils.py", line 61, in execute
  13. return self.client.execute(sql)
  14. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 252, in execute
  15. columnar=columnar
  16. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 447, in process_ordinary_query
  17. columnar=columnar)
  18. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 113, in receive_result
  19. return result.get_result()
  20. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\result.py", line 50, in get_result
  21. for packet in self.packet_generator:
  22. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 129, in packet_generator
  23. packet = self.receive_packet()
  24. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 146, in receive_packet
  25. raise packet.exception
  26. clickhouse_driver.errors.ServerException: Code: 62.
  27. DB::Exception: Syntax error: failed at position 605 (line 11, col 44): dt>='2020-12-22' and dt<='2020-12-22' and pitcher="陈冲" order by desc dt limit 1,10 . Expected one of: AND, OR, alias, UNION ALL, token, AS, WITH, HAVING, LIMIT, SETTINGS, FORMAT, NOT, BETWEEN, LIKE, IS, NOT LIKE, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, Comma, Dot, Arrow, QuestionMark, ORDER BY, INTO OUTFILE, GROUP BY. Stack trace:
  28. 0. /server/clickhouse_build/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xc0390cc in /clickhouse/bin/clickhouse
  29. 1. /server/clickhouse_build/../src/Common/Exception.cpp:29: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x5066519 in /clickhouse/bin/clickhouse
  30. 2. /server/clickhouse_build/../src/Parsers/parseQuery.cpp:310: DB::parseQuery(DB::IParser&, char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, unsigned long) (.cold) @ 0x4db0714 in /clickhouse/bin/clickhouse
  31. 3. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:287: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x8f06380 in /clickhouse/bin/clickhouse
  32. 4. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:718: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x8f0a0dd in /clickhouse/bin/clickhouse
  33. 5. /server/clickhouse_build/../programs/server/TCPHandler.cpp:257: DB::TCPHandler::runImpl() @ 0x50c1029 in /clickhouse/bin/clickhouse
  34. 6. /server/clickhouse_build/../programs/server/TCPHandler.cpp:1252: DB::TCPHandler::run() @ 0x50c1f2c in /clickhouse/bin/clickhouse
  35. 7. /server/clickhouse_build/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x9e54827 in /clickhouse/bin/clickhouse
  36. 8. /server/clickhouse_build/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x9e54c1d in /clickhouse/bin/clickhouse
  37. 9. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/Mutex_STD.h:132: Poco::PooledThread::run() @ 0xc0ab67f in /clickhouse/bin/clickhouse
  38. 10. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/AutoPtr.h:205: Poco::ThreadImpl::runnableEntry(void*) @ 0xc0a8748 in /clickhouse/bin/clickhouse
  39. 11. /server/clickhouse_build/../contrib/libcxx/include/memory:2615: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), Poco::ThreadImpl*> >(void*) @ 0xc0a9fe9 in /clickhouse/bin/clickhouse
  40. 12. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
  41. 13. clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
  42. [2020-12-23 19:17:37,573] - [ERROR] - 500 POST /data/pitcher_panel/channel (::1) 275.75ms
  43. [2020-12-23 19:18:12,975] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  44. [2020-12-23 19:18:13,939] - [INFO] - write pid 1536 ...
  45. [2020-12-23 19:18:13,947] - [INFO] - server start, listening on port 8008
  46. [2020-12-23 19:18:14,008] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (127.0.0.1)
  47. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='127.0.0.1')
  48. Traceback (most recent call last):
  49. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  50. result = method(*self.path_args, **self.path_kwargs)
  51. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 24, in post
  52. data=get_pitcher_panel_channel(pitcher, channel, start, end, page, page_size, order_by, order)
  53. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 30, in get_pitcher_panel_channel
  54. print(sql)
  55. OSError: [Errno 22] Invalid argument
  56. [2020-12-23 19:18:14,010] - [ERROR] - 500 POST /data/pitcher_panel/channel (127.0.0.1) 2.03ms
  57. [2020-12-23 19:18:23,514] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (127.0.0.1)
  58. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='127.0.0.1')
  59. Traceback (most recent call last):
  60. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  61. result = method(*self.path_args, **self.path_kwargs)
  62. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 24, in post
  63. data=get_pitcher_panel_channel(pitcher, channel, start, end, page, page_size, order_by, order)
  64. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 30, in get_pitcher_panel_channel
  65. print(sql)
  66. OSError: [Errno 22] Invalid argument
  67. [2020-12-23 19:18:23,515] - [ERROR] - 500 POST /data/pitcher_panel/channel (127.0.0.1) 1.00ms
  68. [2020-12-23 19:18:29,172] - [INFO] - write pid 4820 ...
  69. [2020-12-23 19:18:33,210] - [INFO] - write pid 4548 ...
  70. [2020-12-23 19:24:03,509] - [INFO] - write pid 20328 ...
  71. [2020-12-23 19:24:03,516] - [INFO] - server start, listening on port 8008
  72. [2020-12-23 19:24:08,478] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (::1)
  73. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='::1')
  74. Traceback (most recent call last):
  75. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  76. result = method(*self.path_args, **self.path_kwargs)
  77. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 24, in post
  78. data=get_pitcher_panel_channel(pitcher, channel, start, end, page, page_size, order_by, order)
  79. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 31, in get_pitcher_panel_channel
  80. data=ck.execute(sql)
  81. File "D:\code\QcWebServer\model\DataBaseUtils.py", line 61, in execute
  82. return self.client.execute(sql)
  83. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 252, in execute
  84. columnar=columnar
  85. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 447, in process_ordinary_query
  86. columnar=columnar)
  87. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 113, in receive_result
  88. return result.get_result()
  89. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\result.py", line 50, in get_result
  90. for packet in self.packet_generator:
  91. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 129, in packet_generator
  92. packet = self.receive_packet()
  93. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 146, in receive_packet
  94. raise packet.exception
  95. clickhouse_driver.errors.ServerException: Code: 62.
  96. DB::Exception: Syntax error: failed at position 677 (line 11, col 116): dt limit 1,10 . Expected one of: AND, OR, alias, UNION ALL, token, AS, LIMIT, SETTINGS, FORMAT, NOT, BETWEEN, LIKE, IS, NOT LIKE, IN, NOT IN, GLOBAL IN, GLOBAL NOT IN, Comma, Dot, Arrow, QuestionMark, INTO OUTFILE. Stack trace:
  97. 0. /server/clickhouse_build/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xc0390cc in /clickhouse/bin/clickhouse
  98. 1. /server/clickhouse_build/../src/Common/Exception.cpp:29: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x5066519 in /clickhouse/bin/clickhouse
  99. 2. /server/clickhouse_build/../src/Parsers/parseQuery.cpp:310: DB::parseQuery(DB::IParser&, char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, unsigned long) (.cold) @ 0x4db0714 in /clickhouse/bin/clickhouse
  100. 3. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:287: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x8f06380 in /clickhouse/bin/clickhouse
  101. 4. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:718: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x8f0a0dd in /clickhouse/bin/clickhouse
  102. 5. /server/clickhouse_build/../programs/server/TCPHandler.cpp:257: DB::TCPHandler::runImpl() @ 0x50c1029 in /clickhouse/bin/clickhouse
  103. 6. /server/clickhouse_build/../programs/server/TCPHandler.cpp:1252: DB::TCPHandler::run() @ 0x50c1f2c in /clickhouse/bin/clickhouse
  104. 7. /server/clickhouse_build/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x9e54827 in /clickhouse/bin/clickhouse
  105. 8. /server/clickhouse_build/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x9e54c1d in /clickhouse/bin/clickhouse
  106. 9. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/Mutex_STD.h:132: Poco::PooledThread::run() @ 0xc0ab67f in /clickhouse/bin/clickhouse
  107. 10. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/AutoPtr.h:205: Poco::ThreadImpl::runnableEntry(void*) @ 0xc0a8748 in /clickhouse/bin/clickhouse
  108. 11. /server/clickhouse_build/../contrib/libcxx/include/memory:2615: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), Poco::ThreadImpl*> >(void*) @ 0xc0a9fe9 in /clickhouse/bin/clickhouse
  109. 12. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
  110. 13. clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
  111. [2020-12-23 19:24:08,495] - [ERROR] - 500 POST /data/pitcher_panel/channel (::1) 404.54ms
  112. [2020-12-23 19:25:27,019] - [INFO] - D:\code\QcWebServer\handlers\PitcherPanel.py modified; restarting server
  113. [2020-12-23 19:25:27,980] - [INFO] - write pid 2636 ...
  114. [2020-12-23 19:25:27,986] - [INFO] - server start, listening on port 8008
  115. [2020-12-23 19:25:28,542] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (::1)
  116. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='::1')
  117. Traceback (most recent call last):
  118. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  119. result = method(*self.path_args, **self.path_kwargs)
  120. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 24, in post
  121. data=get_pitcher_panel_channel(pitcher, channel, start, end, page, page_size, order_by, order)
  122. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 30, in get_pitcher_panel_channel
  123. print(sql)
  124. OSError: [Errno 22] Invalid argument
  125. [2020-12-23 19:25:28,544] - [ERROR] - 500 POST /data/pitcher_panel/channel (::1) 2.99ms
  126. [2020-12-23 19:25:33,457] - [INFO] - write pid 10868 ...
  127. [2020-12-23 19:26:00,647] - [INFO] - write pid 7276 ...
  128. [2020-12-23 19:26:00,653] - [INFO] - server start, listening on port 8008
  129. [2020-12-23 19:26:03,805] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (::1)
  130. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='::1')
  131. Traceback (most recent call last):
  132. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  133. result = method(*self.path_args, **self.path_kwargs)
  134. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 24, in post
  135. data=get_pitcher_panel_channel(pitcher, channel, start, end, page, page_size, order_by, order)
  136. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 31, in get_pitcher_panel_channel
  137. data=ck.execute(sql)
  138. File "D:\code\QcWebServer\model\DataBaseUtils.py", line 61, in execute
  139. return self.client.execute(sql)
  140. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 252, in execute
  141. columnar=columnar
  142. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 447, in process_ordinary_query
  143. columnar=columnar)
  144. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 113, in receive_result
  145. return result.get_result()
  146. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\result.py", line 50, in get_result
  147. for packet in self.packet_generator:
  148. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 129, in packet_generator
  149. packet = self.receive_packet()
  150. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 146, in receive_packet
  151. raise packet.exception
  152. clickhouse_driver.errors.ServerException: Code: 47.
  153. DB::Exception: Missing columns: '陈冲' while processing query: 'SELECT channel, stage, platform, book, dt, cost, first_order_amount, if(cost = 0, 0, round(first_order_amount / cost, 4)) AS first_roi, first_order_user, first_order_count, if(first_order_user = 0, 0, round(cost / first_order_user, 2)) AS first_per_cost, view_count, click_count, follow_user, if(click_count = 0, 0, round(follow_user / click_count, 4)) AS follow_rate, if(follow_user = 0, 0, round(cost / follow_user, 2)) AS follow_per_cost, total_cost, if(total_cost = 0, 0, round(total_amount / total_cost, 4)) AS back_rate FROM dw_daily_channel WHERE (dt >= '2020-12-22') AND (dt <= '2020-12-22') AND (pitcher = `陈冲`) ORDER BY dt DESC LIMIT 1, 10', required columns: 'first_order_amount' 'dt' 'platform' 'stage' 'pitcher' 'cost' 'channel' 'follow_user' 'first_order_user' 'first_order_count' 'book' 'click_count' 'view_count' 'total_amount' 'total_cost' '陈冲', source columns: 'total_amount' 'web_view_count' 'dt' 'reg_order_user' 'total_cost' 'click_count' 'view_count' 'reg_order_count' 'first_order_amount' 'reg_order_amount' 'stage' 'order_amount' 'order_user' 'order_count' 'book' 'web_order_count' 'follow_user' 'channel' 'platform' 'first_order_count' 'first_order_user' 'cost' 'pitcher' 'platform_view_count' 'reg_order_amount30'. Stack trace:
  154. 0. /server/clickhouse_build/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xc0390cc in /clickhouse/bin/clickhouse
  155. 1. /server/clickhouse_build/../src/Common/Exception.cpp:29: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x5066519 in /clickhouse/bin/clickhouse
  156. 2. /server/clickhouse_build/../contrib/libcxx/include/string:2134: DB::SyntaxAnalyzerResult::collectUsedColumns(std::__1::shared_ptr<DB::IAST> const&) (.cold) @ 0x4c72e66 in /clickhouse/bin/clickhouse
  157. 3. /server/clickhouse_build/../contrib/libcxx/include/new:251: DB::SyntaxAnalyzer::analyzeSelect(std::__1::shared_ptr<DB::IAST>&, DB::SyntaxAnalyzerResult&&, DB::SelectQueryOptions const&, std::__1::vector<DB::TableWithColumnNamesAndTypes, std::__1::allocator<DB::TableWithColumnNamesAndTypes> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) const @ 0x8ecb84f in /clickhouse/bin/clickhouse
  158. 4. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:300: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::'lambda'(bool)::operator()(bool) const @ 0x8d3bf75 in /clickhouse/bin/clickhouse
  159. 5. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:374: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d3d282 in /clickhouse/bin/clickhouse
  160. 6. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:167: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d3e7e5 in /clickhouse/bin/clickhouse
  161. 7. /server/clickhouse_build/../contrib/libcxx/include/vector:1681: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d78c96 in /clickhouse/bin/clickhouse
  162. 8. /server/clickhouse_build/../contrib/libcxx/include/vector:461: DB::InterpreterFactory::get(std::__1::shared_ptr<DB::IAST>&, DB::Context&, DB::QueryProcessingStage::Enum) @ 0x8d1b7f4 in /clickhouse/bin/clickhouse
  163. 9. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:406: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x8f06b06 in /clickhouse/bin/clickhouse
  164. 10. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:718: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x8f0a0dd in /clickhouse/bin/clickhouse
  165. 11. /server/clickhouse_build/../programs/server/TCPHandler.cpp:257: DB::TCPHandler::runImpl() @ 0x50c1029 in /clickhouse/bin/clickhouse
  166. 12. /server/clickhouse_build/../programs/server/TCPHandler.cpp:1252: DB::TCPHandler::run() @ 0x50c1f2c in /clickhouse/bin/clickhouse
  167. 13. /server/clickhouse_build/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x9e54827 in /clickhouse/bin/clickhouse
  168. 14. /server/clickhouse_build/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x9e54c1d in /clickhouse/bin/clickhouse
  169. 15. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/Mutex_STD.h:132: Poco::PooledThread::run() @ 0xc0ab67f in /clickhouse/bin/clickhouse
  170. 16. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/AutoPtr.h:205: Poco::ThreadImpl::runnableEntry(void*) @ 0xc0a8748 in /clickhouse/bin/clickhouse
  171. 17. /server/clickhouse_build/../contrib/libcxx/include/memory:2615: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), Poco::ThreadImpl*> >(void*) @ 0xc0a9fe9 in /clickhouse/bin/clickhouse
  172. 18. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
  173. 19. clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
  174. [2020-12-23 19:26:03,811] - [ERROR] - 500 POST /data/pitcher_panel/channel (::1) 263.66ms
  175. [2020-12-23 19:26:42,204] - [INFO] - write pid 16860 ...
  176. [2020-12-23 19:26:42,210] - [INFO] - server start, listening on port 8008
  177. [2020-12-23 19:26:44,621] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (::1)
  178. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='::1')
  179. Traceback (most recent call last):
  180. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  181. result = method(*self.path_args, **self.path_kwargs)
  182. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 24, in post
  183. data=get_pitcher_panel_channel(pitcher, channel, start, end, page, page_size, order_by, order)
  184. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 31, in get_pitcher_panel_channel
  185. data=ck.execute(sql)
  186. File "D:\code\QcWebServer\model\DataBaseUtils.py", line 61, in execute
  187. return self.client.execute(sql)
  188. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 252, in execute
  189. columnar=columnar
  190. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 447, in process_ordinary_query
  191. columnar=columnar)
  192. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 113, in receive_result
  193. return result.get_result()
  194. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\result.py", line 50, in get_result
  195. for packet in self.packet_generator:
  196. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 129, in packet_generator
  197. packet = self.receive_packet()
  198. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 146, in receive_packet
  199. raise packet.exception
  200. clickhouse_driver.errors.ServerException: Code: 47.
  201. DB::Exception: Missing columns: '2020-12-22' '陈冲' while processing query: 'SELECT channel, stage, platform, book, dt, cost, first_order_amount, if(cost = 0, 0, round(first_order_amount / cost, 4)) AS first_roi, first_order_user, first_order_count, if(first_order_user = 0, 0, round(cost / first_order_user, 2)) AS first_per_cost, view_count, click_count, follow_user, if(click_count = 0, 0, round(follow_user / click_count, 4)) AS follow_rate, if(follow_user = 0, 0, round(cost / follow_user, 2)) AS follow_per_cost, total_cost, if(total_cost = 0, 0, round(total_amount / total_cost, 4)) AS back_rate FROM dw_daily_channel WHERE (dt >= `2020-12-22`) AND (dt <= `2020-12-22`) AND (pitcher = `陈冲`) ORDER BY dt DESC LIMIT 1, 10', required columns: 'first_order_amount' 'dt' 'platform' 'stage' 'channel' 'follow_user' 'cost' 'pitcher' 'first_order_user' 'first_order_count' 'book' 'click_count' 'view_count' 'total_cost' '陈冲' '2020-12-22' 'total_amount', source columns: 'total_amount' 'web_view_count' 'dt' 'reg_order_user' 'total_cost' 'click_count' 'view_count' 'reg_order_count' 'first_order_amount' 'reg_order_amount' 'stage' 'order_amount' 'order_user' 'order_count' 'book' 'web_order_count' 'follow_user' 'channel' 'platform' 'first_order_count' 'first_order_user' 'cost' 'pitcher' 'platform_view_count' 'reg_order_amount30'. Stack trace:
  202. 0. /server/clickhouse_build/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xc0390cc in /clickhouse/bin/clickhouse
  203. 1. /server/clickhouse_build/../src/Common/Exception.cpp:29: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x5066519 in /clickhouse/bin/clickhouse
  204. 2. /server/clickhouse_build/../contrib/libcxx/include/string:2134: DB::SyntaxAnalyzerResult::collectUsedColumns(std::__1::shared_ptr<DB::IAST> const&) (.cold) @ 0x4c72e66 in /clickhouse/bin/clickhouse
  205. 3. /server/clickhouse_build/../contrib/libcxx/include/new:251: DB::SyntaxAnalyzer::analyzeSelect(std::__1::shared_ptr<DB::IAST>&, DB::SyntaxAnalyzerResult&&, DB::SelectQueryOptions const&, std::__1::vector<DB::TableWithColumnNamesAndTypes, std::__1::allocator<DB::TableWithColumnNamesAndTypes> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) const @ 0x8ecb84f in /clickhouse/bin/clickhouse
  206. 4. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:300: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::'lambda'(bool)::operator()(bool) const @ 0x8d3bf75 in /clickhouse/bin/clickhouse
  207. 5. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:374: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d3d282 in /clickhouse/bin/clickhouse
  208. 6. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:167: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d3e7e5 in /clickhouse/bin/clickhouse
  209. 7. /server/clickhouse_build/../contrib/libcxx/include/vector:1681: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d78c96 in /clickhouse/bin/clickhouse
  210. 8. /server/clickhouse_build/../contrib/libcxx/include/vector:461: DB::InterpreterFactory::get(std::__1::shared_ptr<DB::IAST>&, DB::Context&, DB::QueryProcessingStage::Enum) @ 0x8d1b7f4 in /clickhouse/bin/clickhouse
  211. 9. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:406: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x8f06b06 in /clickhouse/bin/clickhouse
  212. 10. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:718: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x8f0a0dd in /clickhouse/bin/clickhouse
  213. 11. /server/clickhouse_build/../programs/server/TCPHandler.cpp:257: DB::TCPHandler::runImpl() @ 0x50c1029 in /clickhouse/bin/clickhouse
  214. 12. /server/clickhouse_build/../programs/server/TCPHandler.cpp:1252: DB::TCPHandler::run() @ 0x50c1f2c in /clickhouse/bin/clickhouse
  215. 13. /server/clickhouse_build/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x9e54827 in /clickhouse/bin/clickhouse
  216. 14. /server/clickhouse_build/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x9e54c1d in /clickhouse/bin/clickhouse
  217. 15. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/Mutex_STD.h:132: Poco::PooledThread::run() @ 0xc0ab67f in /clickhouse/bin/clickhouse
  218. 16. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/AutoPtr.h:205: Poco::ThreadImpl::runnableEntry(void*) @ 0xc0a8748 in /clickhouse/bin/clickhouse
  219. 17. /server/clickhouse_build/../contrib/libcxx/include/memory:2615: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), Poco::ThreadImpl*> >(void*) @ 0xc0a9fe9 in /clickhouse/bin/clickhouse
  220. 18. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
  221. 19. clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
  222. [2020-12-23 19:26:44,636] - [ERROR] - 500 POST /data/pitcher_panel/channel (::1) 136.14ms
  223. [2020-12-23 19:30:40,582] - [INFO] - write pid 6184 ...
  224. [2020-12-23 19:30:40,588] - [INFO] - server start, listening on port 8008
  225. [2020-12-23 19:30:42,487] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 145.34ms
  226. [2020-12-23 19:35:07,606] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  227. [2020-12-23 19:35:08,564] - [INFO] - write pid 6424 ...
  228. [2020-12-23 19:35:08,570] - [INFO] - server start, listening on port 8008
  229. [2020-12-23 19:36:11,083] - [INFO] - D:\code\QcWebServer\model\DataBaseUtils.py modified; restarting server
  230. [2020-12-23 19:36:11,937] - [INFO] - write pid 8032 ...
  231. [2020-12-23 19:36:11,943] - [INFO] - server start, listening on port 8008
  232. [2020-12-23 19:39:23,455] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  233. [2020-12-23 19:39:23,963] - [INFO] - write pid 6332 ...
  234. [2020-12-23 19:39:23,971] - [INFO] - server start, listening on port 8008
  235. [2020-12-23 19:39:24,312] - [INFO] - write pid 5112 ...
  236. [2020-12-23 19:39:27,145] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 215.21ms
  237. [2020-12-23 19:39:55,231] - [INFO] - write pid 12364 ...
  238. [2020-12-23 19:39:55,237] - [INFO] - server start, listening on port 8008
  239. [2020-12-23 19:40:00,990] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 285.77ms
  240. [2020-12-23 19:40:21,783] - [INFO] - write pid 7944 ...
  241. [2020-12-23 19:40:21,788] - [INFO] - server start, listening on port 8008
  242. [2020-12-23 19:40:23,448] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 202.31ms
  243. [2020-12-23 19:42:46,796] - [INFO] - D:\code\QcWebServer\model\DataBaseUtils.py modified; restarting server
  244. [2020-12-23 19:42:47,791] - [INFO] - write pid 18920 ...
  245. [2020-12-23 19:42:47,797] - [INFO] - server start, listening on port 8008
  246. [2020-12-23 19:43:21,803] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  247. [2020-12-23 19:43:22,352] - [INFO] - write pid 6632 ...
  248. [2020-12-23 19:43:22,359] - [INFO] - server start, listening on port 8008
  249. [2020-12-23 19:43:22,689] - [INFO] - write pid 4480 ...
  250. [2020-12-23 19:43:25,966] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 268.89ms
  251. [2020-12-23 19:44:24,872] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  252. [2020-12-23 19:44:26,021] - [INFO] - write pid 16204 ...
  253. [2020-12-23 19:44:26,027] - [INFO] - server start, listening on port 8008
  254. [2020-12-23 19:45:54,545] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  255. [2020-12-23 19:45:55,338] - [INFO] - write pid 12688 ...
  256. [2020-12-23 19:45:55,345] - [INFO] - server start, listening on port 8008
  257. [2020-12-23 19:45:55,558] - [INFO] - write pid 16708 ...
  258. [2020-12-23 19:45:58,489] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 346.39ms
  259. [2020-12-23 19:49:37,259] - [INFO] - write pid 6328 ...
  260. [2020-12-23 19:49:37,266] - [INFO] - server start, listening on port 8008
  261. [2020-12-23 19:49:42,886] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (::1)
  262. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='::1')
  263. Traceback (most recent call last):
  264. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  265. result = method(*self.path_args, **self.path_kwargs)
  266. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 25, in post
  267. self.write_json(data)
  268. File "D:\code\QcWebServer\handlers\HandlerBase.py", line 27, in write_json
  269. self.write(json.dumps({'status': {'msg': msg, "RetCode": status_code}, 'data': data}))
  270. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\__init__.py", line 395, in dumps
  271. return _default_encoder.encode(obj)
  272. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\encoder.py", line 296, in encode
  273. chunks = self.iterencode(o, _one_shot=True)
  274. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\encoder.py", line 378, in iterencode
  275. return _iterencode(o, 0)
  276. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\encoder.py", line 273, in default
  277. o.__class__.__name__)
  278. TypeError: Object of type date is not JSON serializable
  279. [2020-12-23 19:49:42,916] - [ERROR] - 500 POST /data/pitcher_panel/channel (::1) 183.47ms
  280. [2020-12-23 19:49:57,133] - [INFO] - write pid 15184 ...
  281. [2020-12-23 19:49:57,140] - [INFO] - server start, listening on port 8008
  282. [2020-12-23 19:49:58,286] - [ERROR] - Uncaught exception POST /data/pitcher_panel/channel (::1)
  283. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/channel', version='HTTP/1.1', remote_ip='::1')
  284. Traceback (most recent call last):
  285. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  286. result = method(*self.path_args, **self.path_kwargs)
  287. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 26, in post
  288. self.write_json(data)
  289. File "D:\code\QcWebServer\handlers\HandlerBase.py", line 27, in write_json
  290. self.write(json.dumps({'status': {'msg': msg, "RetCode": status_code}, 'data': data}))
  291. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\__init__.py", line 395, in dumps
  292. return _default_encoder.encode(obj)
  293. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\encoder.py", line 296, in encode
  294. chunks = self.iterencode(o, _one_shot=True)
  295. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\encoder.py", line 378, in iterencode
  296. return _iterencode(o, 0)
  297. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\simplejson\encoder.py", line 273, in default
  298. o.__class__.__name__)
  299. TypeError: Object of type date is not JSON serializable
  300. [2020-12-23 19:49:58,297] - [ERROR] - 500 POST /data/pitcher_panel/channel (::1) 126.21ms
  301. [2020-12-23 19:51:29,672] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  302. [2020-12-23 19:51:30,644] - [INFO] - write pid 12132 ...
  303. [2020-12-23 19:51:30,650] - [INFO] - server start, listening on port 8008
  304. [2020-12-23 19:52:23,664] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  305. [2020-12-23 19:52:24,620] - [INFO] - write pid 19096 ...
  306. [2020-12-23 19:52:24,621] - [INFO] - write pid 12080 ...
  307. [2020-12-23 19:52:24,625] - [INFO] - server start, listening on port 8008
  308. [2020-12-23 19:52:51,508] - [INFO] - write pid 13880 ...
  309. [2020-12-23 19:52:51,514] - [INFO] - server start, listening on port 8008
  310. [2020-12-23 19:52:54,781] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 508.10ms
  311. [2020-12-23 19:55:43,528] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  312. [2020-12-23 19:55:44,492] - [INFO] - write pid 12320 ...
  313. [2020-12-23 19:55:44,499] - [INFO] - server start, listening on port 8008
  314. [2020-12-23 19:58:17,520] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  315. [2020-12-23 19:58:18,487] - [INFO] - write pid 4128 ...
  316. [2020-12-23 19:58:18,495] - [INFO] - server start, listening on port 8008
  317. [2020-12-23 20:02:35,001] - [INFO] - D:\code\QcWebServer\data_manage\pitcher_panel.py modified; restarting server
  318. [2020-12-23 20:02:35,878] - [INFO] - write pid 18664 ...
  319. [2020-12-23 20:02:35,883] - [INFO] - server start, listening on port 8008
  320. [2020-12-23 20:02:35,959] - [INFO] - write pid 10916 ...
  321. [2020-12-23 20:02:39,826] - [INFO] - 200 POST /data/pitcher_panel/channel (::1) 585.77ms
  322. [2020-12-23 20:03:14,904] - [INFO] - D:\code\QcWebServer\handlers\PitcherPanel.py modified; restarting server
  323. [2020-12-23 20:03:15,819] - [INFO] - write pid 704 ...
  324. [2020-12-23 20:03:15,825] - [INFO] - server start, listening on port 8008
  325. [2020-12-23 20:05:45,846] - [INFO] - D:\code\QcWebServer\handlers\PitcherPanel.py modified; restarting server
  326. [2020-12-23 20:37:34,098] - [INFO] - write pid 3468 ...
  327. [2020-12-23 20:37:34,104] - [INFO] - server start, listening on port 8008
  328. [2020-12-23 20:38:32,270] - [ERROR] - Uncaught exception POST /data/pitcher_panel/daily (::1)
  329. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/daily', version='HTTP/1.1', remote_ip='::1')
  330. Traceback (most recent call last):
  331. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  332. result = method(*self.path_args, **self.path_kwargs)
  333. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 41, in post
  334. data = get_pitcher_panel_daily(pitcher, start, end, page, page_size, order_by, order)
  335. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 62, in get_pitcher_panel_daily
  336. data = ck.execute(sql)
  337. File "D:\code\QcWebServer\model\DataBaseUtils.py", line 62, in execute
  338. return self.client.execute(sql)
  339. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 252, in execute
  340. columnar=columnar
  341. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 447, in process_ordinary_query
  342. columnar=columnar)
  343. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 113, in receive_result
  344. return result.get_result()
  345. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\result.py", line 50, in get_result
  346. for packet in self.packet_generator:
  347. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 129, in packet_generator
  348. packet = self.receive_packet()
  349. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 146, in receive_packet
  350. raise packet.exception
  351. clickhouse_driver.errors.ServerException: Code: 215.
  352. DB::Exception: Column `dt` is not under aggregate function and not in GROUP BY. Stack trace:
  353. 0. /server/clickhouse_build/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xc0390cc in /clickhouse/bin/clickhouse
  354. 1. /server/clickhouse_build/../src/Common/Exception.cpp:29: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x5066519 in /clickhouse/bin/clickhouse
  355. 2. /server/clickhouse_build/../contrib/libcxx/include/string:2134: DB::ActionsMatcher::visit(DB::ASTIdentifier const&, std::__1::shared_ptr<DB::IAST> const&, DB::ActionsMatcher::Data&) (.cold) @ 0x4d9416e in /clickhouse/bin/clickhouse
  356. 3. /server/clickhouse_build/../contrib/libcxx/include/memory:3826: DB::InDepthNodeVisitor<DB::ActionsMatcher, true, std::__1::shared_ptr<DB::IAST> const>::visit(std::__1::shared_ptr<DB::IAST> const&) @ 0x98c4bb5 in /clickhouse/bin/clickhouse
  357. 4. /server/clickhouse_build/../src/Interpreters/InDepthNodeVisitor.h:45: DB::InDepthNodeVisitor<DB::ActionsMatcher, true, std::__1::shared_ptr<DB::IAST> const>::visit(std::__1::shared_ptr<DB::IAST> const&) @ 0x98c4bf3 in /clickhouse/bin/clickhouse
  358. 5. /server/clickhouse_build/../src/Interpreters/InDepthNodeVisitor.h:45: DB::ExpressionAnalyzer::getRootActions(std::__1::shared_ptr<DB::IAST> const&, bool, std::__1::shared_ptr<DB::ExpressionActions>&, bool) (.constprop.0) @ 0x98b9c3b in /clickhouse/bin/clickhouse
  359. 6. /server/clickhouse_build/../src/Interpreters/ExpressionAnalyzer.cpp:798: DB::SelectQueryExpressionAnalyzer::appendOrderBy(DB::ExpressionActionsChain&, bool, bool, std::__1::vector<std::__1::shared_ptr<DB::ExpressionActions>, std::__1::allocator<std::__1::shared_ptr<DB::ExpressionActions> > >&) @ 0x98bb8bb in /clickhouse/bin/clickhouse
  360. 7. /server/clickhouse_build/../src/Interpreters/ExpressionAnalyzer.cpp:1089: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, bool, bool, bool, std::__1::shared_ptr<DB::FilterInfo> const&, DB::Block const&) @ 0x98c38ea in /clickhouse/bin/clickhouse
  361. 8. /server/clickhouse_build/../src/Interpreters/ExpressionAnalyzer.h:164: DB::InterpreterSelectQuery::getSampleBlockImpl(bool) @ 0x8d3af27 in /clickhouse/bin/clickhouse
  362. 9. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:300: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::'lambda'(bool)::operator()(bool) const @ 0x8d3c66b in /clickhouse/bin/clickhouse
  363. 10. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:374: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d3d282 in /clickhouse/bin/clickhouse
  364. 11. /server/clickhouse_build/../src/Interpreters/InterpreterSelectQuery.cpp:167: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d3e7e5 in /clickhouse/bin/clickhouse
  365. 12. /server/clickhouse_build/../contrib/libcxx/include/vector:1681: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x8d78c96 in /clickhouse/bin/clickhouse
  366. 13. /server/clickhouse_build/../contrib/libcxx/include/vector:461: DB::InterpreterFactory::get(std::__1::shared_ptr<DB::IAST>&, DB::Context&, DB::QueryProcessingStage::Enum) @ 0x8d1b7f4 in /clickhouse/bin/clickhouse
  367. 14. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:406: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x8f06b06 in /clickhouse/bin/clickhouse
  368. 15. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:718: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x8f0a0dd in /clickhouse/bin/clickhouse
  369. 16. /server/clickhouse_build/../programs/server/TCPHandler.cpp:257: DB::TCPHandler::runImpl() @ 0x50c1029 in /clickhouse/bin/clickhouse
  370. 17. /server/clickhouse_build/../programs/server/TCPHandler.cpp:1252: DB::TCPHandler::run() @ 0x50c1f2c in /clickhouse/bin/clickhouse
  371. 18. /server/clickhouse_build/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x9e54827 in /clickhouse/bin/clickhouse
  372. 19. /server/clickhouse_build/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x9e54c1d in /clickhouse/bin/clickhouse
  373. 20. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/Mutex_STD.h:132: Poco::PooledThread::run() @ 0xc0ab67f in /clickhouse/bin/clickhouse
  374. 21. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/AutoPtr.h:205: Poco::ThreadImpl::runnableEntry(void*) @ 0xc0a8748 in /clickhouse/bin/clickhouse
  375. 22. /server/clickhouse_build/../contrib/libcxx/include/memory:2615: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), Poco::ThreadImpl*> >(void*) @ 0xc0a9fe9 in /clickhouse/bin/clickhouse
  376. 23. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
  377. 24. clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
  378. [2020-12-23 20:38:32,286] - [ERROR] - 500 POST /data/pitcher_panel/daily (::1) 322.47ms
  379. [2020-12-23 20:39:42,605] - [INFO] - write pid 17236 ...
  380. [2020-12-23 20:39:42,610] - [INFO] - server start, listening on port 8008
  381. [2020-12-23 20:39:44,100] - [ERROR] - Uncaught exception POST /data/pitcher_panel/daily (::1)
  382. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/daily', version='HTTP/1.1', remote_ip='::1')
  383. Traceback (most recent call last):
  384. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  385. result = method(*self.path_args, **self.path_kwargs)
  386. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 41, in post
  387. data = get_pitcher_panel_daily(pitcher, start, end, page, page_size, order_by, order)
  388. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 62, in get_pitcher_panel_daily
  389. data = ck.execute(sql)
  390. File "D:\code\QcWebServer\model\DataBaseUtils.py", line 62, in execute
  391. return self.client.execute(sql)
  392. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 252, in execute
  393. columnar=columnar
  394. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 447, in process_ordinary_query
  395. columnar=columnar)
  396. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 113, in receive_result
  397. return result.get_result()
  398. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\result.py", line 50, in get_result
  399. for packet in self.packet_generator:
  400. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 129, in packet_generator
  401. packet = self.receive_packet()
  402. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 146, in receive_packet
  403. raise packet.exception
  404. clickhouse_driver.errors.ServerException: Code: 62.
  405. DB::Exception: Syntax error: failed at position 81 (line 3, col 21): (sum(cost),2) cost,
  406. round(sum(first_order_amount),2) first_order_amount,
  407. if(cost=0,0,round(first_order_amount/cost,4)) first_roi . Expected one of: UNION ALL, token, FROM, PREWHERE, WHERE, WITH, HAVING, LIMIT, SETTINGS, FORMAT, Comma, ORDER BY, INTO OUTFILE, GROUP BY. Stack trace:
  408. 0. /server/clickhouse_build/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xc0390cc in /clickhouse/bin/clickhouse
  409. 1. /server/clickhouse_build/../src/Common/Exception.cpp:29: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x5066519 in /clickhouse/bin/clickhouse
  410. 2. /server/clickhouse_build/../src/Parsers/parseQuery.cpp:310: DB::parseQuery(DB::IParser&, char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, unsigned long) (.cold) @ 0x4db0714 in /clickhouse/bin/clickhouse
  411. 3. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:287: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x8f06380 in /clickhouse/bin/clickhouse
  412. 4. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:718: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x8f0a0dd in /clickhouse/bin/clickhouse
  413. 5. /server/clickhouse_build/../programs/server/TCPHandler.cpp:257: DB::TCPHandler::runImpl() @ 0x50c1029 in /clickhouse/bin/clickhouse
  414. 6. /server/clickhouse_build/../programs/server/TCPHandler.cpp:1252: DB::TCPHandler::run() @ 0x50c1f2c in /clickhouse/bin/clickhouse
  415. 7. /server/clickhouse_build/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x9e54827 in /clickhouse/bin/clickhouse
  416. 8. /server/clickhouse_build/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x9e54c1d in /clickhouse/bin/clickhouse
  417. 9. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/Mutex_STD.h:132: Poco::PooledThread::run() @ 0xc0ab67f in /clickhouse/bin/clickhouse
  418. 10. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/AutoPtr.h:205: Poco::ThreadImpl::runnableEntry(void*) @ 0xc0a8748 in /clickhouse/bin/clickhouse
  419. 11. /server/clickhouse_build/../contrib/libcxx/include/memory:2615: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), Poco::ThreadImpl*> >(void*) @ 0xc0a9fe9 in /clickhouse/bin/clickhouse
  420. 12. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
  421. 13. clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
  422. [2020-12-23 20:39:44,120] - [ERROR] - 500 POST /data/pitcher_panel/daily (::1) 136.05ms
  423. [2020-12-23 20:40:50,058] - [INFO] - write pid 16120 ...
  424. [2020-12-23 20:40:50,065] - [INFO] - server start, listening on port 8008
  425. [2020-12-23 20:40:51,767] - [ERROR] - Uncaught exception POST /data/pitcher_panel/daily (::1)
  426. HTTPServerRequest(protocol='http', host='localhost:8008', method='POST', uri='/data/pitcher_panel/daily', version='HTTP/1.1', remote_ip='::1')
  427. Traceback (most recent call last):
  428. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\tornado\web.py", line 1702, in _execute
  429. result = method(*self.path_args, **self.path_kwargs)
  430. File "D:\code\QcWebServer\handlers\PitcherPanel.py", line 41, in post
  431. data = get_pitcher_panel_daily(pitcher, start, end, page, page_size, order_by, order)
  432. File "D:\code\QcWebServer\data_manage\pitcher_panel.py", line 62, in get_pitcher_panel_daily
  433. data = ck.execute(sql)
  434. File "D:\code\QcWebServer\model\DataBaseUtils.py", line 62, in execute
  435. return self.client.execute(sql)
  436. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 252, in execute
  437. columnar=columnar
  438. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 447, in process_ordinary_query
  439. columnar=columnar)
  440. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 113, in receive_result
  441. return result.get_result()
  442. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\result.py", line 50, in get_result
  443. for packet in self.packet_generator:
  444. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 129, in packet_generator
  445. packet = self.receive_packet()
  446. File "D:\workspace\py_env\QcWebServer-LLP_2JqD\lib\site-packages\clickhouse_driver\client.py", line 146, in receive_packet
  447. raise packet.exception
  448. clickhouse_driver.errors.ServerException: Code: 62.
  449. DB::Exception: Syntax error: failed at position 81 (line 3, col 21): (sum(cost),2) cost,
  450. round(sum(first_order_amount),2) first_order_amount,
  451. if(cost=0,0,round(first_order_amount/cost,4)) first_roi . Expected one of: UNION ALL, token, FROM, PREWHERE, WHERE, WITH, HAVING, LIMIT, SETTINGS, FORMAT, Comma, ORDER BY, INTO OUTFILE, GROUP BY. Stack trace:
  452. 0. /server/clickhouse_build/../contrib/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xc0390cc in /clickhouse/bin/clickhouse
  453. 1. /server/clickhouse_build/../src/Common/Exception.cpp:29: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x5066519 in /clickhouse/bin/clickhouse
  454. 2. /server/clickhouse_build/../src/Parsers/parseQuery.cpp:310: DB::parseQuery(DB::IParser&, char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, unsigned long) (.cold) @ 0x4db0714 in /clickhouse/bin/clickhouse
  455. 3. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:287: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*, bool) @ 0x8f06380 in /clickhouse/bin/clickhouse
  456. 4. /server/clickhouse_build/../src/Interpreters/executeQuery.cpp:718: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, bool) @ 0x8f0a0dd in /clickhouse/bin/clickhouse
  457. 5. /server/clickhouse_build/../programs/server/TCPHandler.cpp:257: DB::TCPHandler::runImpl() @ 0x50c1029 in /clickhouse/bin/clickhouse
  458. 6. /server/clickhouse_build/../programs/server/TCPHandler.cpp:1252: DB::TCPHandler::run() @ 0x50c1f2c in /clickhouse/bin/clickhouse
  459. 7. /server/clickhouse_build/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x9e54827 in /clickhouse/bin/clickhouse
  460. 8. /server/clickhouse_build/../contrib/libcxx/include/atomic:856: Poco::Net::TCPServerDispatcher::run() @ 0x9e54c1d in /clickhouse/bin/clickhouse
  461. 9. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/Mutex_STD.h:132: Poco::PooledThread::run() @ 0xc0ab67f in /clickhouse/bin/clickhouse
  462. 10. /server/clickhouse_build/../contrib/poco/Foundation/include/Poco/AutoPtr.h:205: Poco::ThreadImpl::runnableEntry(void*) @ 0xc0a8748 in /clickhouse/bin/clickhouse
  463. 11. /server/clickhouse_build/../contrib/libcxx/include/memory:2615: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)(void*), Poco::ThreadImpl*> >(void*) @ 0xc0a9fe9 in /clickhouse/bin/clickhouse
  464. 12. start_thread @ 0x76db in /lib/x86_64-linux-gnu/libpthread-2.27.so
  465. 13. clone @ 0x121a3f in /lib/x86_64-linux-gnu/libc-2.27.so
  466. [2020-12-23 20:40:51,786] - [ERROR] - 500 POST /data/pitcher_panel/daily (::1) 133.47ms
  467. [2020-12-23 20:42:16,015] - [INFO] - write pid 19792 ...
  468. [2020-12-23 20:42:16,021] - [INFO] - server start, listening on port 8008
  469. [2020-12-23 20:42:17,936] - [INFO] - 200 POST /data/pitcher_panel/daily (::1) 129.64ms
  470. [2020-12-23 20:42:41,242] - [INFO] - 200 POST /data/pitcher_panel/daily (::1) 38.12ms
  471. [2020-12-23 20:45:48,037] - [INFO] - D:\code\QcWebServer\handlers\PitcherPanel.py modified; restarting server