Mikhail Filimonov
22bd22702e
Fix enable_optimize_predicate_expression for finalizeAggregation
...
finalizeAggregation was wrongly marked as stateful, preventing pushing the conditions down.
2020-09-17 15:59:14 +02:00
alexey-milovidov
2413caa7d5
Merge pull request #14889 from ClickHouse/extract-all-groups-empty-match
...
Fix error in "extractAllGroups" function
2020-09-17 16:02:30 +03:00
Alexey Milovidov
068e8576b7
Corrections
2020-09-17 15:53:52 +03:00
Nikolai Kochetov
000cd42d5e
Merge pull request #14917 from ClickHouse/revert-14607-lower-number-of-threads-in-binary-build
...
Revert "Lower number of threads in binary build"
2020-09-17 15:45:02 +03:00
Nikolai Kochetov
c2906e3871
Merge pull request #14918 from ClickHouse/revert-14362
...
Revert #14362
2020-09-17 15:41:08 +03:00
Alexey Milovidov
8bce20076c
Only mlock code segment
2020-09-17 15:39:37 +03:00
alesapin
6601f4f786
Better errors, fix merge
2020-09-17 15:10:06 +03:00
Nikolai Kochetov
959d755a1b
Update Visitor.h
2020-09-17 15:08:55 +03:00
alesapin
6c369c8dc6
Fix merge error
2020-09-17 15:01:03 +03:00
Nikolai Kochetov
daf6e0aa84
Merge pull request #14813 from ClickHouse/inline-gather-utils
...
Inline gather utils
2020-09-17 14:44:25 +03:00
Alexander Kuzmenkov
946d364b10
Move non-essential builds to special
...
Special builds have lower CI priority and start later. If some tests
fail, they won't start at all, so we'll save some CI time.
2020-09-17 14:41:14 +03:00
Alexey Milovidov
a5560cd62d
Better drop replicated tables
2020-09-17 14:27:17 +03:00
Alexander Kuzmenkov
4773bf57ea
Use logical core id ('processor') for CPU freq metric
...
See https://github.com/ClickHouse/ClickHouse/issues/14923
2020-09-17 13:47:29 +03:00
alesapin
40b2f203b6
Merge branch 'master' into manual-write-duplicate-parts-to-replicas
2020-09-17 13:21:00 +03:00
Nikolai Kochetov
bd92284b4e
Push ci.
2020-09-17 13:18:01 +03:00
Alexander Kuzmenkov
ada1c7c4a0
fixup
2020-09-17 13:15:46 +03:00
alesapin
50c55eb2d2
Merge pull request #14846 from ClickHouse/add_clang_11
...
Move to clang-11 in CI builds
2020-09-17 13:14:00 +03:00
Alexander Kuzmenkov
0e34955753
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-17 13:10:18 +03:00
alexey-milovidov
2886b38c03
Merge branch 'master' into fix_test_distributed_over_live_view2
2020-09-17 13:06:39 +03:00
Alexander Kuzmenkov
36538ce08f
Don't account for short queries, we'll deal with them separately.
...
New query:
```
WITH ceil(max(q[3]), 1) AS h
SELECT concat('sed -i s\'/^<test.*$/<test max_ignored_relative_change="', toString(h), '">/g\' tests/performance/', test, '.xml') AS s
FROM
(
SELECT
test,
query_index,
count(*),
min(event_time),
max(event_time) AS t,
arrayMap(x -> floor(x, 3), quantiles(0, 0.5, 0.95, 1)(stat_threshold)) AS q,
median(stat_threshold) AS m
FROM perftest.query_metrics
WHERE (metric = 'client_time') AND (abs(diff) < 0.05) AND (old > 0.2)
GROUP BY
test,
query_index,
query_display_name
HAVING (t > '2020-09-01 00:00:00') AND (m > 0.1)
ORDER BY test DESC
)
GROUP BY test
ORDER BY h DESC
FORMAT PrettySpace
```
2020-09-17 13:00:51 +03:00
Nikolai Kochetov
21bd45fb22
Update InterpreterSelectQuery.cpp
2020-09-17 12:57:48 +03:00
Nikolai Kochetov
fdeda8200b
Revert debian/rules
2020-09-17 12:52:15 +03:00
Nikolai Kochetov
d23244b3a5
Revert "Lower number of threads in binary build"
2020-09-17 12:45:06 +03:00
roman
b41421cb1c
[settings]: introduce new query complexity settings for leaf-nodes
...
The new setting should allow to control query complexity on leaf nodes
excluding the final merging stage on the root-node. For example, distributed
query that reads 1k rows from 5 shards will breach the `max_rows_to_read=5000`,
while effectively every shard reads only 1k rows. With setting `max_rows_to_read_leaf=1500`
this limit won't be reached and query will succeed since every shard reads
not more that ~1k rows.
2020-09-17 10:37:05 +01:00
Nikolai Kochetov
35e8ee5f85
Rollback inlining.
2020-09-17 12:20:23 +03:00
Nikolai Kochetov
339521fadb
Update test.py
2020-09-17 11:48:27 +03:00
Nikolai Kochetov
6d3e6dadfa
Update has.
2020-09-17 11:18:00 +03:00
Nikolai Kochetov
225b85624e
Merge branch 'master' into inline-gather-utils
2020-09-17 11:17:32 +03:00
alesapin
f104c382f8
Merge pull request #14887 from azat/StorageFile-write-to-fd
...
Fix SIGSEGV for an attempt to INSERT into StorageFile(fd)
2020-09-17 10:25:02 +03:00
alesapin
5f9e7ed169
Merge pull request #14834 from ClickHouse/fix_compression_codec_perf
...
Fix performance degradation during parts selection for merge
2020-09-17 10:09:41 +03:00
alesapin
4348dca960
Update ci_config.json
2020-09-17 10:07:58 +03:00
alesapin
73544a3781
Merge pull request #14845 from ClickHouse/fix_alias_array
...
Fix recursive column defaults
2020-09-17 10:02:39 +03:00
zhang2014
c5b56c24f8
ISSUES-14894 fix MaterializeMySQL temp metadata file exists
2020-09-17 14:44:05 +08:00
zhang2014
0c81a8777e
Fix review comment
2020-09-17 14:21:38 +08:00
Nikolai Kochetov
a67986791f
Merge pull request #14848 from ClickHouse/test-gather-utils-build-time
...
Improve GatherUtils build time
2020-09-17 08:58:00 +03:00
sundy-li
544b2cb20d
add configChanged method for zookeeper
...
fix logic error && skip reload testkeeper
2020-09-17 13:33:45 +08:00
sundyli
9c2a8ea6d0
dynamic zookeeper config
2020-09-17 13:26:36 +08:00
Azat Khuzhin
13088d9bef
Fix 00900_parquet_load (update exception message on INSERT failures)
2020-09-17 08:05:56 +03:00
Vitaliy Zakaznikov
bf9feb6865
Removing usage of time.sleep in tests/integration/test_distributed_over_live_view/test.py
2020-09-16 22:07:58 -04:00
Azat Khuzhin
138e953429
Fix SIGSEGV for an attempt to INSERT into StorageFile(fd)
2020-09-17 01:26:34 +03:00
Alexey Milovidov
c37b55c3b1
Fix error in "extractAllGroups" function
2020-09-17 00:19:58 +03:00
Azat Khuzhin
7d046b24e6
Improve error message for INSERT via clickhouse-client
...
With '\n...' after the query [1] clickhouse-client prefer data from the
INSERT over from stdin, and produce very tricky message:
Code: 27. DB::Exception: Cannot parse input: expected '\n' before: ' ': (at row 1)
Well for TSV it is ok, but for RowBinary:
Code: 33. DB::Exception: Cannot read all data. Bytes read: 1. Bytes expected: 4.
So improve error message by adding the source of data for INSERT.
[1]: clickhouse-client -q "INSERT INTO data FORMAT TSV\n " <<<2
2020-09-17 00:16:51 +03:00
damozhaeva
4a094491f2
DOCSUP-2038 Edit and translate to Russian ( #14236 )
...
* Editing and translation.
* Editing and translation v2.
* Update docs/ru/getting-started/playground.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/ru/getting-started/playground.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/ru/getting-started/playground.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/ru/getting-started/playground.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/ru/getting-started/playground.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Russian changes.
* Changed links.
* Update docs/ru/getting-started/playground.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/ru/getting-started/playground.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Changed odbc link
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-09-16 21:54:55 +03:00
Anton Popov
8e9828d2ff
Merge remote-tracking branch 'upstream/master' into HEAD
2020-09-16 21:07:35 +03:00
alexey-milovidov
9f5599858e
Merge pull request #14820 from vladimir-golovchenko/fix-sql-compatibility-doc
...
Fix SQL compatibility doc
2020-09-16 20:44:22 +03:00
alexey-milovidov
84b210f93e
Merge pull request #14864 from bharatnc/ncb/format-integration-tests
...
Format and cleanup imports form all *.py integration test files
2020-09-16 20:40:57 +03:00
Nikolai Kochetov
9fc594a4c5
Fix tests.
2020-09-16 20:32:56 +03:00
alexey-milovidov
5f57b8c912
Merge pull request #14882 from monadbobo/clang_minimum_version
...
Modify the minimum version of the Clang compiler
2020-09-16 20:29:04 +03:00
Alexey Milovidov
26eb49b48d
Fix typo
2020-09-16 20:02:55 +03:00
alesapin
e173658422
Fix integration test
2020-09-16 19:53:58 +03:00