Commit Graph

63126 Commits

Author SHA1 Message Date
alexey-milovidov
3381d0dce9
Update 01602_max_distributed_connections.sh 2021-04-20 03:20:36 +03:00
Alexey Milovidov
8ef84eeaa1 Add test for #7815 2021-04-20 03:16:39 +03:00
robot-clickhouse
db82e9e3d5 Auto version update to [21.6.1.1] [54451] 2021-04-20 01:48:20 +03:00
robot-clickhouse
a584d78f19 Auto version update to [21.5.1.6601] [54450] 2021-04-20 01:45:38 +03:00
Russ Frank
4a742a17be feedback on deltasumtimestamp 2021-04-19 18:28:31 -04:00
Alexey Milovidov
ac68dd8e97 Fix bad code; allow to INSERT into MySQL without database name 2021-04-20 00:29:37 +03:00
Azat Khuzhin
6fba6f7ddd Disable min_bytes_to_use_mmap_io by default
Reading files using mmap() does not have any significant benefits over
plain read() [1].

  [1]: https://gist.github.com/azat/3d6c8d82bdd91e7a38d997fd6bcfd574

And not only it does not have significant benefits, it also has some
issues, due to max_server_memory_usage (default to 90% of available
RAM), since when you read files with mmap() eventually process RSS may
exceed max_server_memory_usage, and in this case any allocation will
fail (with "Memory limit exceeded (total)") error (yes kernel will
unload pages, but likely it will happens after queries will starting to
fail), like in this test [2].

  [2]: https://gist.github.com/azat/4813489828162e6c2ce131963c6a1acb

TL;DR;

Note that there was also an idea to take those mmap()'ed regions in
memory tracking (#23211), but there are some drawbacks (since accounting
mmap() is tricky, first of all you need to account only once per inode
for file and plus kernel can unload some pages and those memory will not
be used by the server anymore).

And as an adddition to #23211 there was #23212, that adds
max_bytes_to_use_mmap_io, but since mmap is not a subject for memory
accounting there is no need in it.
2021-04-20 00:25:16 +03:00
Denny Crane
1dbbe2d075
add check that p.pruning works 2021-04-19 18:06:54 -03:00
Alexey Milovidov
feae382273 Fix mistake 2021-04-19 23:39:25 +03:00
kssenii
bb767b66d5 Add integration test 2021-04-19 20:39:22 +00:00
Alexey Milovidov
f492495507 Allow to INSERT into remote MySQL storage with empty database #19281 2021-04-19 23:36:13 +03:00
Alexey Milovidov
4ad4dbbc09 Regenerate Arcadia 2021-04-19 23:26:23 +03:00
alexey-milovidov
c87f846816
Merge pull request #21938 from azat/connection-settings
Apply idle_connnection_timeout/poll_interval after each query
2021-04-19 22:58:21 +03:00
alexey-milovidov
5b66086bc9
Merge pull request #23219 from azat/optimize_skip_unused_shards_rewrite_in-fix
Add type conversion for optimize_skip_unused_shards_rewrite_in
2021-04-19 22:45:35 +03:00
alexey-milovidov
4cef8c68f7
Merge pull request #23258 from azat/wundef
Add -Wundef for gcc builds
2021-04-19 22:45:22 +03:00
kssenii
cc5f49fbee Fix 2021-04-19 19:43:22 +00:00
Alexey Milovidov
0784efa813 Better test 2021-04-19 22:42:39 +03:00
alexey-milovidov
f69f11e6cd
Merge pull request #23259 from azat/jemalloc-background_thread
Report an error if jemalloc.background_thread was requested
2021-04-19 22:37:16 +03:00
Alexey Milovidov
f7d3f77222 Fix bad test 01602_max_distributed_connections 2021-04-19 22:36:45 +03:00
Nikolai Kochetov
211967db96 Revert "Try use more mem for stack."
This reverts commit 93ae00bd0d.
2021-04-19 22:35:47 +03:00
Kseniia Sumarokova
2d3b4af67a
Merge pull request #23231 from sevirov/sevirov-DOCSUP-8215-add_aliases_to_functions
DOCSUP-8215: Add aliases to functions
2021-04-19 22:27:26 +03:00
Nikolai Kochetov
08d1896950 Fix build. 2021-04-19 22:06:05 +03:00
Nikolai Kochetov
394cca2434 Fix build. 2021-04-19 21:36:45 +03:00
alexey-milovidov
f1706223be
Merge pull request #23275 from ClickHouse/fix-tests-hedged-requests
Fix integration tests for Hedged requests
2021-04-19 21:10:23 +03:00
Dmitriy
f1aef7e9a2 Edit and translate to Russian
Поправил английскую версию и выполнил перевод на русский язык.
2021-04-19 21:01:38 +03:00
Alexander Kuzmenkov
5a050f0573
Merge pull request #23246 from olgarev/revolg-DOCSUP-8224-remove_temporary_tables_from_system_tables
DOCSUP-8224: Fix showing temporary tables in system tables
2021-04-19 20:55:28 +03:00
Nikolai Kochetov
f6bdd35943 Try fix tests. 2021-04-19 20:55:18 +03:00
Alexander Kuzmenkov
e2077bc38d
Merge pull request #23247 from olgarev/revolg-DOCSUP-8655-Update_paths_to_the_catboost_model_configs
DOCSUP-8655: Update paths to the CatBoost model configs
2021-04-19 20:52:29 +03:00
Alexander Kuzmenkov
6f90fc449b
Merge pull request #23308 from ClickHouse/aku/fix-perf
fix broken perf test
2021-04-19 20:31:38 +03:00
Anton Popov
04c432f631
Merge pull request #23235 from sevirov/sevirov-DOCSUP-8222-forbid_to_drop_column
DOCSUP-8222: Forbid to drop a column if it's referenced by materialized view
2021-04-19 20:25:57 +03:00
Dmitriy
780d05a7e9 Translate to Russian
Выполнил перевод на русский язык.
2021-04-19 20:05:20 +03:00
olgarev
6abe37b13e
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-04-19 20:04:51 +03:00
olgarev
6f5144a2e7
Update docs/ru/guides/apply-catboost-model.md 2021-04-19 20:01:58 +03:00
sevirov
7af6229418
Update docs/ru/sql-reference/functions/json-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-19 19:35:20 +03:00
sevirov
5fdb08fa90
Update docs/ru/sql-reference/functions/json-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-19 19:34:53 +03:00
sevirov
0cf58d1fb7
Update docs/ru/sql-reference/functions/json-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-19 19:34:33 +03:00
Nikolai Kochetov
93ae00bd0d Try use more mem for stack. 2021-04-19 19:25:53 +03:00
vdimir
a95c4dcfff
Correct sample_block in HashJoin for dict join with join_algorithm = auto 2021-04-19 18:02:56 +03:00
Nikolai Kochetov
8c2d58333a Merge branch 'master' into explain-output 2021-04-19 17:40:27 +03:00
Nikolai Kochetov
c59628846c
Merge pull request #22352 from ClickHouse/add-read-from-mt-step
Special query plan step for read from MergeTree
2021-04-19 17:38:40 +03:00
Nikolai Kochetov
ff908baa06 Enable async_socket_for_remote 2021-04-19 17:31:46 +03:00
Nikolai Kochetov
0420b7bb33 Reset replica state in MultiplexedConnections in case of exception. 2021-04-19 17:25:43 +03:00
Amos Bird
aeff06d67d
Don't relax NOT conditions during partition pruning. 2021-04-19 22:15:53 +08:00
Nikolai Kochetov
0c23d44b99 Add test. 2021-04-19 17:12:08 +03:00
tavplubix
b61a24634f
Merge pull request #23304 from ClickHouse/test_print_errors_on_db_creation
Print errors on db creation in clickhouse-test
2021-04-19 17:10:23 +03:00
tavplubix
31ab3135fc
Merge pull request #22620 from adevyatova/annadevyatova-DOCSUP-5887
DOCSUP-5887: Update the SQL-statement CREATE TABLE
2021-04-19 17:09:24 +03:00
Alexander Kuzmenkov
d9d94752d1 fix broken perf test 2021-04-19 17:05:47 +03:00
Alexander Kuzmenkov
dd55fd8954
Merge pull request #23201 from ClickHouse/aku/negate-stable-formatting
more stable formatting for negate()
2021-04-19 16:48:43 +03:00
Alexander Kuzmenkov
2a4bcb6e3f
Merge pull request #23159 from ClickHouse/aku/merge-fusecount
merging sumCount fusion PR #21337
2021-04-19 16:47:13 +03:00
Nikita Mikhaylov
648b941922 done 2021-04-19 13:37:02 +00:00