Commit Graph

43206 Commits

Author SHA1 Message Date
alesapin
b1e8976df4 Merge with master 2020-06-22 12:04:27 +03:00
alesapin
b9e74f4e82 Merge branch 'master' into atomic_metadata5 2020-06-22 12:03:53 +03:00
Azat Khuzhin
9744c99f7e Tune 01238_http_memory_tracking to make it more optimal
w/o the patch the test fails with, since it succeed only 512 queries.
2020-06-22 12:01:56 +03:00
Ivan Blinkov
3510040bc7
[docs] fix "zh" build (#11854) 2020-06-22 11:45:22 +03:00
alesapin
4cf1f84172
Merge pull request #11848 from ClickHouse/better-diagnostic-for-logical-error-test-992
Better diagnostics for logical error triggered by test 00992
2020-06-22 11:13:51 +03:00
Ivan Blinkov
3798518543
Update README.md 2020-06-22 11:01:14 +03:00
Ivan Blinkov
333810de6f Merge branch 'sentry' of github.com:blinkov/ClickHouse into sentry 2020-06-22 10:22:50 +03:00
Ivan Blinkov
7b1ab482b0 restore immediate stacktrace output 2020-06-22 10:22:13 +03:00
Ivan Blinkov
2c0ff29c48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-22 10:06:36 +03:00
alexey-milovidov
5decc73b5d
Merge pull request #11832 from ClickHouse/mysql-vars
Added support for MySQL style global variables syntax
2020-06-22 03:04:04 +03:00
alexey-milovidov
dd31bcff66
Merge pull request #11846 from ClickHouse/prohibit-array-join-in-higher-order-functions
Don't allow arrayJoin inside higher order functions
2020-06-22 03:00:51 +03:00
Azat Khuzhin
c758567e4e Do not run 01238_http_memory_tracking under sanitizers 2020-06-22 02:42:11 +03:00
Alexey Milovidov
8cce416921 Added a test with another hostname 2020-06-22 01:12:35 +03:00
Alexey Milovidov
69008521f6 Fix build 2020-06-22 00:17:19 +03:00
Alexey Milovidov
4dcc0a0f86 Better diagnostics for logical error triggered by test 00992 2020-06-22 00:07:06 +03:00
Alexey Milovidov
e9fb277e6c Make LIVE VIEW test less wrong (it was depending on the timing of progress messages) 2020-06-21 23:37:55 +03:00
Alexey Milovidov
318b35cd85 generate-ya-make 2020-06-21 23:22:34 +03:00
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
38b018fa04
Update executeQuery.cpp 2020-06-21 21:29:11 +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