Commit Graph

62074 Commits

Author SHA1 Message Date
Azat Khuzhin
2561a67fd8 Replace !__clang__ with !defined(__clang) to fix gcc builds
$ gg 'if !__clang__' | cut -d: -f1 | sort -u | xargs sed -i 's/#if !__clang__/#if !defined(__clang__)/g'
2021-04-18 23:37:50 +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
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
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
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
Alexey Milovidov
ecf8de7111 Add a test for #14610 2021-04-17 02:22:32 +03:00
Alexey Milovidov
ec473a90d2 Fixed missing semicolon in exception message 2021-04-17 02:14:48 +03:00
Alexey Milovidov
36fe378a17 Fix fairly terrible bug in LowCardinality #16171 2021-04-17 02:11:21 +03:00
alexey-milovidov
786f340256
Merge pull request #22755 from kssenii/postgresql-protocol-with-row-policy
Allow row policy in postgresql protocol
2021-04-17 01:55:30 +03:00
robot-clickhouse
88445294b4 Update version_date.tsv after release 20.8.18.32 2021-04-17 01:11:03 +03:00
robot-clickhouse
d2101c05ce Update version_date.tsv after release 21.2.10.48 2021-04-17 00:40:38 +03:00
robot-clickhouse
a1f6b0e560 Update version_date.tsv after release 21.3.7.62 2021-04-17 00:28:08 +03:00
robot-clickhouse
df2e75bf00 Update version_date.tsv after release 21.4.4.30 2021-04-16 23:56:52 +03:00
Maksim Kita
d381e59791
Merge pull request #23114 from kitaisreal/fix-arcadia-build-s3
Fix arcadia build S3
2021-04-16 23:35:10 +03:00
Maksim Kita
4be441c6d5
Merge branch 'master' into support-apple-m1 2021-04-16 23:33:12 +03:00
Alexander Kuzmenkov
7adc0fde82
Merge pull request #23088 from azat/jemalloc-tunning
jemalloc tuning
2021-04-16 22:17:03 +03:00