Commit Graph

18275 Commits

Author SHA1 Message Date
Vitaliy Zakaznikov
d87ed7f267 * Adding max_live_view_insert_blocks_before_refresh setting
with default value of 64
* Updating writeIntoLiveView method to use max_live_view_insert_blocks_before_refresh
  from global context instead of hard coded number
* Adding squashing of the result blocks similar how it is done in materialized views
* Fixing bug in writeIntoLiveView that caused incoming block to be processed twice
  when maximum number of insert blocks was reached
2019-06-23 09:51:29 -04:00
Vitaliy Zakaznikov
bdeb45e8c7 Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview 2019-06-17 13:04:48 -04:00
proller
dae5087fcf Build and test fixes 2019-06-17 19:50:31 +03:00
Vitaliy Zakaznikov
51bf8a1baa Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview 2019-06-17 12:42:31 -04:00
Vitaliy Zakaznikov
8df3e48a7b * Fixing bug in writeIntoLiveView method where mergeable blocks
would always be reobtained after 64 inserts
2019-06-17 12:39:01 -04:00
alesapin
0a157278bb
Merge pull request #5557 from 4ertus2/t
T64 column codec
2019-06-17 16:09:55 +03:00
alesapin
fd3abbe93d
Merge pull request #4935 from zhang2014/feature/support_system_replicas
Support system replicas queries for distributed
2019-06-17 15:30:30 +03:00
alesapin
e45d727e9d
Merge pull request #4558 from podshumok/distributred-timeout
Distributed and remote timeouts
2019-06-17 13:58:17 +03:00
alesapin
2b242f2a64
Update test.py 2019-06-17 11:25:06 +03:00
alexey-milovidov
5fd319d0e9
Merge pull request #5648 from yandex/remove-number-of-stat-calls
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-17 09:30:29 +03:00
Alexey Milovidov
705ded30d8 Fixed test 2019-06-17 01:09:52 +03:00
Alexey Milovidov
62a3d00772 Added comment 2019-06-16 23:50:06 +03:00
Alexey Milovidov
ee5dcd50a0 Lowered CPU overhead for small data parts 2019-06-16 23:42:03 +03:00
Alexey Milovidov
c6e83f6837 Added performance tests 2019-06-16 23:25:43 +03:00
Alexey Milovidov
14be0ca281 Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 23:13:54 +03:00
Alexey Milovidov
49c4f2ffed Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 23:11:30 +03:00
Alexey Milovidov
e3b21be1bb Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 23:02:45 +03:00
Alexey Milovidov
0ad13ca3d1 Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 22:59:30 +03:00
Alexey Milovidov
c1aa767a04 Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 22:53:05 +03:00
Alexey Milovidov
e4f314f88d Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 22:49:12 +03:00
Alexey Milovidov
801f34d325 Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 22:42:05 +03:00
Alexey Milovidov
b6acb29625 Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 22:36:15 +03:00
Alexey Milovidov
b494d17ca6 Reduce number of "stat" syscalls for MergeTree data parts 2019-06-16 22:32:52 +03:00
Alexey Milovidov
413b780b65 Various fixes for PVS-Studio 2019-06-16 21:13:39 +03:00
Yuriy
2e29ea7b2e support of sessions and default_database in MySQL wire protocol 2019-06-16 18:12:37 +03:00
Vitaliy Zakaznikov
d876f7f332 Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview 2019-06-16 07:12:54 -04:00
Vitaliy Zakaznikov
ea83a4cafa * Removing 'hash' column from WATCH [db.live_view] EVENTS query result
as hash of the result are not usually provided in ClickHouse.
  This is also done to match the implementation of the SELECT query that only
  returns '_version' virtual column when using LIVE VIEW tables.
2019-06-16 07:09:43 -04:00
Alexey Milovidov
73f282049e Fixed name of performance test 2019-06-16 12:25:20 +03:00
Alexey Milovidov
935b223f95 Fixed performance test 2019-06-16 12:16:54 +03:00
Alexey Milovidov
8ee7478804 Fixed performance test 2019-06-16 12:15:22 +03:00
alexey-milovidov
debc9366f5
Merge pull request #5643 from yandex/levysh-testkeeper
Cleanup for TestKeeper
2019-06-16 12:10:22 +03:00
alexey-milovidov
829bcabcef
Merge pull request #5644 from yurriy/mysql
Made MySQL wire protocol tests independent from each other
2019-06-16 12:09:32 +03:00
Yuriy
369a8fbe92 made mysql tests independent from each other 2019-06-16 10:55:14 +03:00
Vitaliy Zakaznikov
103bf9d068 * Updating tests as SHOW TABLES 'lv' does not return any tables
as test database is not selected by default.
2019-06-15 23:34:28 -04:00
Vitaliy Zakaznikov
abc7c3f6c1 Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview 2019-06-15 21:22:28 -04:00
Alexey Milovidov
ba18308080 Merge branch 'master' into levysh-testkeeper 2019-06-16 02:45:34 +03:00
Alexey Milovidov
a576755bec Fixed build 2019-06-16 02:45:17 +03:00
Alexey Milovidov
6418018385 Added comment 2019-06-16 02:35:12 +03:00
Alexey Milovidov
cd43543d50 Using testkeeper in tests 2019-06-16 02:35:12 +03:00
Alexey Milovidov
777af5544b Removed tons of trash
Removed tons of trash

Removed tons of trash

Removed tons of trash

Removed tons of trash

Removed tons of trash

Removed tons of trash

Removed tons of trash

Removed tons of trash

Removed tons of trash

Removed tons of trash
2019-06-16 02:35:27 +03:00
levushkin aleksej
bc2789f9ad TestKeeper(mock ZooKeeper)
fix style

fix bug

one more fix style
2019-06-16 02:35:12 +03:00
alexey-milovidov
20c75dced4
Merge pull request #5554 from abyss7/pytest
Run query-tests using pytest framework
2019-06-15 22:22:51 +03:00
alexey-milovidov
f90d667782
Update clickhouse-test 2019-06-15 22:20:56 +03:00
alexey-milovidov
39c6fbc324
Merge pull request #5567 from vitlibar/really-lazy-dictionary-load
Non-blocking loading of external dictionaries
2019-06-15 22:15:53 +03:00
proller
2a6c7cda0b CLICKHOUSE-4179 Fix function arrayEnumerateUniqRanked (#5622)
* wip

* fix

* clean
2019-06-15 22:14:17 +03:00
Alexey Milovidov
e53a5a0c7d Improved performance tests for formats once again 2019-06-15 22:06:02 +03:00
alexey-milovidov
379c8ee426
Merge pull request #5642 from yandex/fix-format-perf-test
Fixed "select_format" performance test for Pretty formats
2019-06-15 22:03:15 +03:00
alexey-milovidov
a52e13b891
Merge pull request #5640 from yandex/use-ipv6-in-system-tables
Adopted IPv6 data type in system tables; unified client info columns in system.processes and system.query_log
2019-06-15 21:21:24 +03:00
Alexey Milovidov
386ec7f321 Added more isolated test for formats: just number formatting. 2019-06-15 18:02:46 +03:00
Alexey Milovidov
d82364bdcb Fixed "select_format" performance test for Pretty formats 2019-06-15 18:00:25 +03:00