Vitaliy Lyudvichenko
ed7cd86f09
Fixed several bug. Trun on --server_logs_level=warning in tests. [#CLICKHOUSE-2910]
...
Fixed several test to be compatible with --server_logs_level=warning.
2018-06-08 22:50:15 +03:00
Vitaliy Lyudvichenko
99b68d3cf3
Add more options for loggig. [#CLICKHOUSE-2910]
2018-06-07 21:46:53 +03:00
Vitaliy Lyudvichenko
ac54e52fb3
Add server logs passing to client. [#CLICKHOUSE-2910]
2018-06-07 20:58:50 +03:00
Vitaliy Lyudvichenko
89f2107c75
C++ify taskstats getter, periodic auto update of profile events. [#CLICKHOUSE-2910]
2018-06-04 17:50:35 +03:00
Vitaliy Lyudvichenko
b46f2ad946
Simplified code via introducing states. [#CLICKHOUSE-2910]
2018-06-01 22:39:32 +03:00
Vitaliy Lyudvichenko
2b179b560b
Initialize external tables after enqueue query. [#CLICKHOUSE-2910]
2018-06-01 18:32:27 +03:00
Vitaliy Lyudvichenko
549a6944d9
Better AsynchronousBlockInputStream in sync mode. [#CLICKHOUSE-2910]
2018-06-01 14:58:17 +03:00
Vitaliy Lyudvichenko
0355f81f20
[WIP] Introduced query_thread_log. [#CLICKHOUSE-2910]
2018-05-31 18:54:08 +03:00
Vitaliy Lyudvichenko
e265e5c2ab
Refactoring. [#CLICKHOUSE-2910]
2018-05-29 21:14:31 +03:00
Vitaliy Lyudvichenko
d81744fd06
Add more perfomance counters. [#CLICKHOUSE-2910]
2018-05-28 23:03:03 +03:00
Vitaliy Lyudvichenko
aa40931824
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-05-28 20:22:27 +03:00
Vitaliy Lyudvichenko
7615f5a09a
More detail dignostic when parse JSONEachRow. [#CLICKHOUSE-2]
2018-05-28 14:40:07 +03:00
alexey-milovidov
dcebf08620
Merge pull request #2400 from bocharov/master
...
Fix DateTime vs DateTime('UTC') inconsistency on data read.
2018-05-25 21:44:11 +03:00
Amos Bird
9eec14e9be
Let's make it fancier (function try catch block).
2018-05-25 23:38:57 +08:00
Alexey Milovidov
13762471da
Changed DayNum_t to DayNum as Amos Bird suggested [#CLICKHOUSE-3]
2018-05-25 16:29:15 +03:00
proller
87e8d8be5a
Fix internal compiler includes with new clang ( #2406 )
2018-05-24 15:40:02 +03:00
Vitaliy Lyudvichenko
87ad1df259
More atomic insert to MATERIALIZED VIEW. [#CLICKHOUSE-3743]
2018-05-23 19:18:04 +03:00
Vitaliy Lyudvichenko
6cc7068c6b
Supress dummy program_options assertions in Debug. [#CLICKHOUSE-2]
2018-05-23 19:14:00 +03:00
Alex Bocharov
3618842579
Fix DateTime vs DateTime('UTC') inconsistency on data read.
...
Original problem was described in PR #1650 and partially fixed by
b5af4c95
, however one place was forgotten and it was causing query
exceptions when trying to read DateTime column across parts with
different DateTime and DateTime('UTC') data type.
2018-05-22 12:23:07 +01:00
alexey-milovidov
2b581ed2c3
Merge pull request #2293 from proller/fix19
...
`clickhouse-client`: option --ask-password for interactively ask for credentials #1044
2018-05-21 22:54:32 +03:00
alexey-milovidov
55cfebc36b
Merge pull request #2395 from yandex/string_range-pointers-comparsion
...
Renamed StringRangeHash to StringRangePointersHash and added StringRa…
2018-05-21 22:42:42 +03:00
proller
051395a761
clickhouse-client
: option --ask-password for interactively ask for credentials #1044
2018-05-21 20:27:18 +03:00
Vitaliy Lyudvichenko
8349d2b9a0
Fixed gcc7 compilation. [#CLICKHOUSE-2]
2018-05-21 18:10:50 +03:00
Vitaliy Lyudvichenko
c888903488
Add query ALTER TABLE t1 [REPLACE|ATTACH] PARTITION FROM t2
...
* Add ATTACH PARTITION FROM table for MergeTree. [#CLICKHOUSE-3546]
* Implemented replicated case on non-leader replica. [#CLICKHOUSE-3546]
* Disable merges in the dropping range. [#CLICKHOUSE-3546]
* DROP PARTITION is atomic and simpler now. [#CLICKHOUSE-3546]
* Implemented more SYSTEM queries. [#CLICKHOUSE-2931] [#CLICKHOUSE-3546]
SYSTEM queries:
RESTART REPLICAS
SYNC REPLICA db.name
STOP MERGES [db.name]
START MERGES [db.name]
STOP FETCHES [db.name]
START FETCHES [db.name]
STOP REPLICATED SENDS [db.name]
START REPLICATED SENDS [db.name]
STOP REPLICATION QUEUES [db.name]
START REPLICATION QUEUES [db.name]
* Fixed a bunch of bugs in REPLACE PARTITION. [#CLICKHOUSE-3546]
* Add tests for REPLACE PARTITION and SYSTEM. [#CLICKHOUSE-3546]
* Add system.part_log logging. [#CLICKHOUSE-3546]
* Fixed long wait in SYNC REPLICA. [#CLICKHOUSE-3546]
* Add requested changes. [#CLICKHOUSE-3546]
Fixed clickhouse-client bad return code.
* Add requested chenges. [#CLICKHOUSE-3546]
* Add requested chenges. [#CLICKHOUSE-3546]
2018-05-21 16:49:54 +03:00
Nikolai Kochetov
aeaec2e6d7
Renamed StringRangeHash to StringRangePointersHash and added StringRangePointersEqualTo.
2018-05-21 14:18:11 +03:00
alexey-milovidov
0fe2984d00
Merge pull request #2388 from yandex/fix-prepared-sets-creation
...
Fix prepared sets creation
2018-05-19 19:03:04 +03:00
alexey-milovidov
517318334a
Merge pull request #1722 from silviucpp/background-schedule-pool-fix
...
Background schedule pool fixed
2018-05-19 19:00:43 +03:00
Alexey Milovidov
577268d8f5
Style #2387
2018-05-18 21:31:18 +03:00
Alexey Milovidov
74a6b0010f
utils/check-style/fix-style #2387
2018-05-18 21:30:02 +03:00
Nikolai Kochetov
a4b04739c8
Renamed need_parents back to need_parens. [#CLICKHOUSE-3735]
2018-05-18 21:28:11 +03:00
Nikolai Kochetov
f739078ea5
Fixed IAST::clone() implementations which were without children deep copy. [#CLICKHOUSE-3735]
2018-05-18 21:28:11 +03:00
Nikolai Kochetov
5e22f19258
Added fake range for ASTIdentifier in order to fix multiple global in. [#CLICKHOUSE-3734]
2018-05-18 20:27:58 +03:00
Arsen Hakobyan
dfe65ba842
Now uses Poco::URI::addQueryParameter for "update_field" parameter
2018-05-18 19:22:28 +03:00
Arsen Hakobyan
ad9659574f
Adds percent encoding for "update_field" parameter
...
Handles cases when url has fragment
2018-05-18 19:22:28 +03:00
Vitaliy Lyudvichenko
4b093e3e0a
Don't make extra checksums checks when commit a part. [#CLICKHOUSE-2]
...
This patch is very crucial in case of many replicas.
2018-05-18 02:01:36 +03:00
Vitaliy Lyudvichenko
bd4d8a6766
Add profile events and settings logging. [#CLICKHOUSE-2910]
2018-05-17 19:01:41 +03:00
Nikolai Kochetov
d7ead51796
Added invalid FixedString size to the list of parse errors.
2018-05-17 18:29:59 +03:00
Nikolai Kochetov
9a1c286ade
Changed prepared set indexation from AST* to StringRange. [#CLICKHOUSE-3734]
2018-05-17 17:54:43 +03:00
Alexey Zatelepin
d31b897ba7
validate mutation commands [#CLICKHOUSE-3688]
2018-05-16 05:46:15 +03:00
Alexey Zatelepin
3b97d3938f
alter delete skeleton [#CLICKHOUSE-3688]
2018-05-16 05:46:15 +03:00
Alexey Milovidov
195f91f191
Merge branch 'master' of github.com:yandex/ClickHouse
2018-05-16 03:35:07 +03:00
Alexey Milovidov
fb91bba279
Miscellaneous [#CLICKHOUSE-2]
2018-05-16 03:34:56 +03:00
Vitaliy Lyudvichenko
abc73eb6ba
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-05-15 21:35:52 +03:00
Vitaliy Lyudvichenko
412c154045
Better configs for an integration test. [#CLICKHOUSE-2]
2018-05-15 21:25:54 +03:00
Nikolai Kochetov
6715b945d9
Allow using of function which returs tuple for IN. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
Nikolai Kochetov
aaad77a602
Fixed unnecessary creation of prepared set for function arguments other than second for in or global in. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
Nikolai Kochetov
e6adcfaad5
Fixed element types for explicit set in IN function. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
Nikolai Kochetov
651bac519c
Fixed element types for explicit set in IN function.
...
Fixed element types for explicit set in IN function. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
alexey-milovidov
9ef0a771e3
Update TableFunctionMySQL.cpp
2018-05-15 03:02:59 +03:00
sundy-li
8a5990fc74
add integration test_storage_mysql
2018-05-15 03:02:59 +03:00