Commit Graph

62108 Commits

Author SHA1 Message Date
Nikolai Kochetov
4d86f51eff Merge branch 'master' into add-read-from-mt-step 2021-04-19 10:17:21 +03:00
Maksim Kita
2f56f8d040
Merge pull request #23278 from kitaisreal/to-date-time-decimal-overflow-ubsan-fix
Function toDateTime decimal overflow ubsan fix
2021-04-19 10:12:24 +03:00
Maksim Kita
1bfd4f7568 Function toDateTime decimal overflow ubsan fix 2021-04-19 02:00:33 +03:00
alexey-milovidov
f307a5dd4a
Merge pull request #23276 from ClickHouse/revert-23211-mmap-accounting
Revert "[RFC] Fix memory tracking with min_bytes_to_use_mmap_io"
2021-04-19 01:31:05 +03:00
alexey-milovidov
1d5a4cfa32
Revert "[RFC] Fix memory tracking with min_bytes_to_use_mmap_io" 2021-04-19 01:30:53 +03:00
alexey-milovidov
04fa079855
Merge pull request #23266 from kitaisreal/zlib-ng-use-constructor-for-functable-initialization
Zlib use attribute constructor for functable initialization
2021-04-19 01:29:56 +03:00
Maksim Kita
ca93987ae9
Merge pull request #23182 from kitaisreal/system-query-reload-model
Added system query reload model
2021-04-19 00:39:31 +03:00
Maksim Kita
1f67362843
Merge pull request #23262 from kitaisreal/simple-key-dictionary-primary-key-wrong-order-fix
Simple key dictionary primary key wrong order fix
2021-04-19 00:37:52 +03:00
Maksim Kita
aac96de051 Zlib use attribute constructor for functable initialization 2021-04-18 17:29:27 +03:00
alexey-milovidov
6d3df1e02f
Merge pull request #23263 from alexe13/patch-1
Translate to Russian (clickhouse-client documentation)
2021-04-18 16:31:02 +03:00
Alex
62ee3915fe
Translate to Russian (clickhouse-client documentation)
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

Documentation
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Added to RU documentation:

--queries-file command-line option
--history_file command-line option
2021-04-18 15:37:46 +03:00
Maksim Kita
b26dfcd514 Simple key dictionary primary key wrong order fix 2021-04-18 15:19:44 +03:00
alexey-milovidov
366ef28d66
Merge pull request #23261 from ClickHouse/disable-hedged-requests-2
Disable hedged requests
2021-04-18 15:16:49 +03:00
Alexey Milovidov
21ff5d85d9 Disable hedged requests 2021-04-18 15:13:57 +03:00
Maksim Kita
aa42150ebd Added integration test 2021-04-18 13:38:36 +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
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
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
Maksim Kita
abf2a87ce7 Added system query reload model 2021-04-17 20:59:08 +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
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
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
Maksim Kita
3f3f928c1f
Merge pull request #21639 from changvvb/support-apple-m1
Support Apple m1
2021-04-17 02:44:15 +03:00