Commit Graph

62479 Commits

Author SHA1 Message Date
alesapin
2035fb3edc Merge branch 'master' into keeper_bench_mark 2021-04-18 12:29:16 +03:00
Azat Khuzhin
3f156b83c9 Add some comments in OptimizeShardingKeyRewriteInVisitor 2021-04-18 09:07:51 +03:00
alexey-milovidov
8b3c37e648
Merge pull request #23248 from ClickHouse/revert-21589-dmalkr/arrayFold
Revert "Function `arrayFold` for folding over array with accumulator"
2021-04-18 03:34:20 +03:00
alexey-milovidov
83038f84af
Revert "Function arrayFold for folding over array with accumulator" 2021-04-18 03:34:05 +03:00
alexey-milovidov
d492beea9f
Merge pull request #23154 from vitlibar/fix-waiting-for-all-connection-closed-on-shutdown
Fix waiting for all connections closed on shutdown.
2021-04-18 03:19:07 +03:00
alexey-milovidov
723c8c10be
Merge pull request #23217 from kssenii/default-q
Use double quote identifier in odbc as default in case of error
2021-04-18 03:18:49 +03:00
alexey-milovidov
96fced4c3c
Merge pull request #23211 from azat/mmap-accounting
[RFC] Fix memory tracking with min_bytes_to_use_mmap_io
2021-04-18 03:17:30 +03:00
alexey-milovidov
834a41e6a0
Merge pull request #23218 from azat/perf-extra-port
Disable postgresql_port in perf tests
2021-04-18 03:14:30 +03:00
alexey-milovidov
7f3a40e1b0
Merge pull request #22237 from ClickHouse/protocol-compression-auto
Autodetect compression #22234
2021-04-18 03:13:54 +03:00
Olga Revyakina
f4f5e5c09e Start 2021-04-18 02:28:47 +03:00
Olga Revyakina
310632d602 One more link added 2021-04-18 02:05:32 +03:00
Olga Revyakina
8e573c41e6 Start 2021-04-18 01:47:43 +03:00
Dmitriy
24319b3cdd Add aliases to russian text
Выполнил перевод на русский язык.
2021-04-18 01:12:33 +03:00
Dmitriy
d12db2374f Fix note
Поправил примечание.
2021-04-18 00:42:36 +03:00
alexey-milovidov
75c4728787
Merge pull request #23229 from ClickHouse/unhex-case-insensitive1
Make function `unhex` case insensitive for compatibility
2021-04-17 23:32:03 +03:00
Dmitriy
e7a044c4c2 Fix link
Исправил ссылку.
2021-04-17 22:52:27 +03:00
Alexander Tokmakov
0354312294 minor fixes in attach query 2021-04-17 22:43:02 +03:00
Vitaly Baranov
ac290b728c
Merge pull request #23238 from vitlibar/docs-grant-hierarchies
Fix documentation for the GRANT command.
2021-04-17 22:34:18 +03:00
Vitaly Baranov
fe0b76b105 Fix documentation for the GRANT command. 2021-04-17 22:33:46 +03:00
alexey-milovidov
571911a0f2
Merge pull request #23215 from kssenii/fix-odbc
Fix reading from odbc with many long column names
2021-04-17 21:29:09 +03:00
alexey-milovidov
212f68e279
Merge branch 'master' into fix-odbc 2021-04-17 21:29:03 +03:00
Kseniia Sumarokova
b0f6f214a2
Merge pull request #23216 from kssenii/test-odbc
Add test for fixed issue #9363
2021-04-17 21:27:50 +03:00
Dmitriy
200925c318 Update column.md
Поправил формулировку.
2021-04-17 21:18:18 +03:00
Dmitriy
4e22cdbfc4 Update column.md
Добавил информацию об удалении столбца в материализованном представлении.
2021-04-17 21:01:21 +03:00
Maksim Kita
abf2a87ce7 Added system query reload model 2021-04-17 20:59:08 +03:00
Dmitriy
801a560896 Add aliases
Добавил синонимы к функциям.
2021-04-17 20:04:32 +03:00
Alexey Milovidov
8ac953f459 Make function unhex case insensitive for compatibility 2021-04-17 19:31:35 +03:00
Vitaly Baranov
37b05f407e
Merge pull request #23228 from vitlibar/improve-row-policy-docs-2
Improve documentation for CREATE ROW POLICY command #2.
2021-04-17 19:28:27 +03:00
Vitaly Baranov
660efccbe2 Improve documentation for CREATE ROW POLICY command #2. 2021-04-17 19:24:11 +03:00
kssenii
0853b4d1ea Add exception message 2021-04-17 15:16:26 +00:00
alesapin
ce848ff2f0 Fix tidy 2021-04-17 17:06:49 +03:00
Alexey Milovidov
a790652029 Merge branch 'protocol-compression-auto' of github.com:yandex/ClickHouse into protocol-compression-auto 2021-04-17 16:47:13 +03:00
Alexey Milovidov
77e64b3ebd Merge branch 'master' into protocol-compression-auto 2021-04-17 16:46:51 +03:00
alexey-milovidov
572ba91593
Merge pull request #23184 from ianton-ru/fix_flapping_test
Fix flapping tests test_s3_zero_copy_replication
2021-04-17 16:14:42 +03:00
alexey-milovidov
138c6ae228
Merge pull request #23185 from ClickHouse/fix_22573
Fix data_type_default_nullable on ATTACH
2021-04-17 16:13:42 +03:00
Vitaly Baranov
2cb4405490 Fix waiting for all connections closed on shutdown. 2021-04-17 16:06:27 +03:00
alexey-milovidov
2634bccfc2
Merge pull request #23208 from ClickHouse/missing-semicolon
Fixed missing semicolon in exception message #14978
2021-04-17 16:03:07 +03:00
alexey-milovidov
73461a10e0
Merge pull request #23209 from ClickHouse/add-test-14610
Add a test for #14610
2021-04-17 16:02:52 +03:00
alexey-milovidov
a1ce6632d8
Merge pull request #23207 from ClickHouse/fix-bug-in-lowcardinality
Fix fairly terrible bug in LowCardinality #16171
2021-04-17 15:58:50 +03:00
alesapin
9fb3784f19 Merge branch 'master' into keeper_bench_mark 2021-04-17 15:58:33 +03:00
Azat Khuzhin
7083d126f7 Disable postgresql_port in perf tests
To avoid port overlaps
2021-04-17 15:28:09 +03:00
Azat Khuzhin
6bd32bd2cb Mark 01605_adaptive_granularity_block_borders as long 2021-04-17 13:50:52 +03:00
kssenii
a31e6606c1 Fix 2021-04-17 10:40:48 +00:00
kssenii
5258cccdf7 Add test 2021-04-17 09:55:36 +00:00
kssenii
5dc2dfa437 Fix 2021-04-17 09:00:58 +00:00
Azat Khuzhin
a963fba41a Update 00084_external_aggregation to avoid using mmap 2021-04-17 10:37:58 +03:00
Azat Khuzhin
1b367ee71d Update 01605_adaptive_granularity_block_borders to avoid using mmap 2021-04-17 10:37:58 +03:00
Azat Khuzhin
6064f3ef1d Fix memory tracking with min_bytes_to_use_mmap_io
With min_bytes_to_use_mmap_io=1 memory regions for mmap() will not be
accounted. But this creates issues, since if you will run simple
"SELECT * FROM big_enough_table" it will mmap lot's of files and the
process RSS will grow at some point, and before the kernel will
understand that it needs to unmap physical pages the clickhouse-server
will sync total_memory_tracker with RSS of the process and the
allocations will fail by per-server memory limits.

Also note, that this does not address all the issues with mmap()
regions.

v2: move track/untrack into the MMapReadBufferFromFileWithCache to avoid
data-race [1]

  [1]: https://clickhouse-test-reports.s3.yandex.net/23211/6acf6cb9b22cee7db8d1aa523a6208f63e792f7a/functional_stateful_tests_(thread).html#fail1
2021-04-17 10:37:38 +03:00
Nikita Mikhaylov
7a23d8292f done 2021-04-16 23:53:26 +00:00
Maksim Kita
3f3f928c1f
Merge pull request #21639 from changvvb/support-apple-m1
Support Apple m1
2021-04-17 02:44:15 +03:00