Commit Graph

42977 Commits

Author SHA1 Message Date
alexey-milovidov
0135771d7f
Merge pull request #11839 from ClickHouse/tuple-compare-const-string
Fix comparison of tuple with constant string
2020-06-21 21:59:15 +03:00
Alexey Milovidov
3f0931ad72 Fix build 2020-06-21 21:57:20 +03:00
Alexey Milovidov
a8e739b191 Fix build 2020-06-21 21:52:58 +03:00
Alexey Milovidov
8cc411c5b5 Clarify setting 2020-06-21 21:50:02 +03:00
Alexey Milovidov
8100423b7e Style 2020-06-21 21:47:16 +03:00
Alexey Milovidov
fe929d7628 Merge branch 'arch-chooser' of https://github.com/DimasKovas/ClickHouse into DimasKovas-arch-chooser 2020-06-21 21:35:34 +03:00
alexey-milovidov
746676d762
Update general_purpose_hashes.xml 2020-06-21 21:32:12 +03:00
alexey-milovidov
d4fce9d0f3
Update great_circle_dist.xml 2020-06-21 21:31:58 +03:00
alexey-milovidov
045553d00f
Update synthetic_hardware_benchmark.xml 2020-06-21 21:31:31 +03:00
alexey-milovidov
dcda561815
Update synthetic_hardware_benchmark.xml 2020-06-21 21:31:19 +03:00
alexey-milovidov
c3a5c32a48
Merge branch 'master' into arch-chooser 2020-06-21 21:30:06 +03:00
Alexey Milovidov
7117b419b9 Don't allow arrayJoin inside higher order functions #3933 2020-06-21 21:22:34 +03:00
alexey-milovidov
59d3e200ce
Merge pull request #11831 from ClickHouse/decimal-cut-extra-digits-after-point
Make reading of Decimal more compatible with other DBMS
2020-06-21 21:03:06 +03:00
alexey-milovidov
8de245fbaf
Merge pull request #11843 from ClickHouse/ithangzhou-fix-symlinks-2
Merging #11838, #11836,  #11837
2020-06-21 20:57:01 +03:00
Alexey Milovidov
55c219b107 Slightly loose the validation of ODBC connection string 2020-06-21 20:28:40 +03:00
Alexey Milovidov
199a6576a5 Remove dependency 2020-06-21 19:37:12 +03:00
Alexey Milovidov
9c97a1e6d1 Merge branch 'master' into mysql-vars 2020-06-21 19:12:24 +03:00
Alexey Milovidov
fac2c6050c Fix UBSan 2020-06-21 19:10:38 +03:00
Alexey Milovidov
8a3610bad8 Fix build 2020-06-21 19:08:41 +03:00
Alexey Milovidov
0b2ffb9c77 Merge branch 'master' into print-build-id 2020-06-21 19:08:07 +03:00
Alexey Milovidov
71317dd59c Merge branch 'master' into send-logs-on-fatal-errors 2020-06-21 19:05:20 +03:00
alexey-milovidov
d3227299e4
Merge pull request #11842 from ClickHouse/bitquery-master
Merging #10520
2020-06-21 18:39:31 +03:00
Alexey Milovidov
7aa8567638 Changed symlinks to regular files 2020-06-21 18:28:32 +03:00
Alexey Milovidov
61c46cbc55 Merge branch 'ithangzhou-patch-17' into ithangzhou-fix-symlinks-2 2020-06-21 18:18:24 +03:00
Alexey Milovidov
949d464bcf Merge branch 'ithangzhou-patch-16' into ithangzhou-fix-symlinks-2 2020-06-21 18:18:21 +03:00
Alexey Milovidov
e7ac04b857 Merge branch 'master' of https://github.com/bitquery/ClickHouse into bitquery-master 2020-06-21 18:03:13 +03:00
alexey-milovidov
4c12f057f6
Merge pull request #11772 from BayoNet/docs/CLICKHOUSEDOCS-658-mv-block-settings
DOCS-658: Materialized views block settings
2020-06-21 17:58:51 +03:00
alexey-milovidov
1947324877
Merge pull request #11658 from Coder-taotao/patch-2
repacle means "替换‘’ or “代替” in Chinese #document
2020-06-21 17:57:17 +03:00
alexey-milovidov
b94ab30da8
Update replacingmergetree.md 2020-06-21 17:56:57 +03:00
Azat Khuzhin
bffd4cf576 Add a test for memory tracking via HTTP interface 2020-06-21 17:37:42 +03:00
Azat Khuzhin
844960195d Fix memory accounting via HTTP interface
function perf_test()
{
    time yes '127.1:8123/?wait_end_of_query=1' | head -n10000 | xargs -P10000 curl -s -d 'select 1' | grep -x -c 1
}
function server()
{
    local limit=$1 && shift
    clickhouse-server "$@" -- --max_server_memory_usage=$limit
}

perf_test:

- before this patch with 1G  limit: succeed only ~800  queries
- after  this patch with 1G  limit: succeed      ~8000 queries

- before this patch with 10G limit: succeed only ~3000  queries
- after  this patch with 10G limit: succeed      ~10000 queries

Fixes: #11153
2020-06-21 17:27:54 +03:00
alexey-milovidov
863b46534f
Update FunctionsComparison.h 2020-06-21 17:25:41 +03:00
Alexey Milovidov
9514965207 Fix comparison of tuple with constant string 2020-06-21 16:23:32 +03:00
Alexey Milovidov
3f96bdaa24 Minor changes after merge 2020-06-21 15:16:08 +03:00
Alexey Milovidov
814c1019b2 Fix build after merge 2020-06-21 14:41:06 +03:00
alexey-milovidov
4ee623ccac
Merge pull request #10242 from MovElb/movelb-postgresql-wire-protocol-impl
PostgreSQL wire protocol implementation
2020-06-21 14:39:22 +03:00
alexey-milovidov
f4a1872085
Update WriteHelpers.h 2020-06-21 14:32:54 +03:00
alexey-milovidov
5094a68157
Merge pull request #11793 from kas-kad/patch-2
Update replacingmergetree.md
2020-06-21 14:15:32 +03:00
alexey-milovidov
e6ab9b969e
Merge pull request #11830 from zlobober/fix_mmap_threshold
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-21 14:07:07 +03:00
alexey-milovidov
90b5e5d2f9
Merge pull request #11688 from ClickHouse/query-plan
Query plan
2020-06-21 14:05:13 +03:00
Alexey Milovidov
fe71a8eb8c Merge branch 'master' into send-logs-on-fatal-errors 2020-06-21 13:55:11 +03:00
Alexey Milovidov
9bbb4ff3d8 Added missing file 2020-06-21 13:54:28 +03:00
Alexey Milovidov
477116844f Fix Arcadia 2020-06-21 13:53:54 +03:00
Alexey Milovidov
fd885e86f7 Merge branch 'master' into mysql-vars 2020-06-21 13:53:37 +03:00
Alexey Milovidov
4b7d253c8a Fix clang-static-analyzer 2020-06-21 13:51:51 +03:00
Alexey Milovidov
227afea032 Merge branch 'master' into decimal-cut-extra-digits-after-point 2020-06-21 13:50:06 +03:00
Alexey Milovidov
ea35829481 Fix build 2020-06-21 13:46:41 +03:00
Alexey Milovidov
f430893adc Fix Arcadia 2020-06-21 13:45:26 +03:00
Alexey Milovidov
7f05d2bac0 Merge branch 'master' into print-build-id 2020-06-21 13:44:32 +03:00
Azat Khuzhin
bd45592539 Fix test_distributed_load_balancing flaps (due to config reload)
At startup, server loads configuration files.

However ConfigReloader does not know about already loaded files (files
is empty()), hence it will always reload the configuration just after
server starts (+ 2 seconds, reload timeout).

And on configuration reload the clusters will be re-created, so some
internal stuff will be reseted:
- error_count
- last_used (round_robing)

And if the reload will happen during round_robin test it will start
querying from the beginning, so let's issue config reload just after
start to avoid reload in the middle of the test execution.
2020-06-21 12:01:15 +03:00