Commit Graph

78729 Commits

Author SHA1 Message Date
Dmitriy Dorofeev
31648d95e2
use application/x-ndjson for streaming JSON (#32223) 2021-12-06 10:49:14 +03:00
Maksim Kita
b9718b8450
Merge pull request #32118 from kitaisreal/fix-test-executable-storage-input
Fix flacky test test_executable_storage_input
2021-12-06 10:39:30 +03:00
liyang830
251a4963f0 feat: modify test 2021-12-06 15:38:23 +08:00
liyang830
ff01b97fb5 feat: modify need_reset_counters simple method 2021-12-06 15:32:12 +08:00
vxider
b68136d1e4 small code style update 2021-12-06 07:12:21 +00:00
leosunli
3946b156a1 Fix bug
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:32 +08:00
leosunli
6f611eec91 Fix bug
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:32 +08:00
Kseniia Sumarokova
4017bb8f78 Update WriteBufferFromHDFS.h 2021-12-06 14:32:32 +08:00
leosunli
8d04495840 set hdfs_replication default value 0
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:32 +08:00
leosunli
e81a1dbe6a Make HDFS replication configurable in WriteBufferFromHDFSImpl#WriteBufferFromHDFSImpl
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:31 +08:00
leosunli
5be58a8839 Make HDFS replication configurable in WriteBufferFromHDFSImpl#WriteBufferFromHDFSImpl
Signed-off-by: leosunli <lisheng.sun08@gmail.com>
2021-12-06 14:32:31 +08:00
sunlisheng
0f045fa20a rename replication
Signed-off-by: sunlisheng <lisheng.sls@alibaba-inc.com>
2021-12-06 14:32:31 +08:00
sunlisheng
ef77f45f59 Make HDFS replication configurable in WriteBufferFromHDFSImpl#WriteBufferFromHDFSImpl
Signed-off-by: sunlisheng <lisheng.sls@alibaba-inc.com>
2021-12-06 14:32:31 +08:00
Azat Khuzhin
f8bf3b1993 stress: use max_memory_usage_for_user as a soft limit to avoid memory limit exceeded
By using max_memory_usage_for_user as a soft limit, and after
max_server_memory_usage as a hard, we can allow normal overcommit, using
max_memory_usage_for_user=0 instead of relying on max_untracked_memory.
2021-12-06 09:05:34 +03:00
Azat Khuzhin
d68d01988e clickhouse-test: apply --client-option in get_stacktraces_from_clickhouse() 2021-12-06 09:02:56 +03:00
Azat Khuzhin
f9a95fce13 stress: allow memory overcommit for SELECT 1 query 2021-12-06 09:02:56 +03:00
Azat Khuzhin
1167313961 stress: allow memory overcommit for one more query 2021-12-06 09:02:56 +03:00
Azat Khuzhin
7063ea3ee2 stress: add make_query_command() helper 2021-12-06 09:02:56 +03:00
Azat Khuzhin
adec690166 stress: SYSTEM DROP MARK CACHE 2021-12-06 09:02:56 +03:00
Azat Khuzhin
d3a7aed005 stress: tune memory_profiler_step too 2021-12-06 09:02:56 +03:00
Azat Khuzhin
169941c5d0 stress: allow 100MiB of memory to overcommit for SHOW/DROP DATABASE
CI: https://s3.amazonaws.com/clickhouse-test-reports/32019/b6290ae00223fc91d514b82de25e195ab34f8bca/stress_test__thread__actions_.html
2021-12-06 09:02:56 +03:00
Azat Khuzhin
445b0983ea stress: ignore server memory limits for hung check
In [1] hung check failed because the server was under memory pressure.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32019/b6290ae00223fc91d514b82de25e195ab34f8bca/stress_test__undefined__actions_.html
2021-12-06 09:02:56 +03:00
Kseniia Sumarokova
8b1bced6ca
Merge pull request #32236 from azat/fix-agg-func-versioning
Fix versioning of aggregate functions (fixes performance tests)
2021-12-06 08:57:02 +03:00
taiyang-li
a98f740bf2 remove unused file 2021-12-06 12:01:39 +08:00
taiyang-li
9d1e63be0f 1. support default expression for storage hdfs; 2. optimize storage hdfs when format is column oriented 2021-12-06 11:54:45 +08:00
romanzhukov
9222e6ed9a Update query_views_log.md
Delete query_views_log.md
Create query_views_log.md
2021-12-06 00:04:31 +03:00
Azat Khuzhin
2b1789adc5 Pass through version for aggregate function from SerializationAggregateFunction too
Suggested-by: @kssenii
2021-12-05 21:45:07 +03:00
Azat Khuzhin
428e34d811 Fix versioning of aggregate functions (fixes performance tests) 2021-12-05 21:45:07 +03:00
romanzhukov
715a25d4f4 Update query_log settings
Update query_views_log.md
Update query_views_log
Minor fixes
2021-12-05 21:16:29 +03:00
Tatiana Kirillova
f386ce3495 fix example 2021-12-05 20:29:10 +03:00
Tatiana Kirillova
3efb4038ca sparkbar description 2021-12-05 19:46:24 +03:00
romanzhukov
f4055f1957 Update multiFuzzyMatchAny 2021-12-05 19:36:12 +03:00
Vitaly Baranov
d709782088
Merge pull request #31988 from vitlibar/fix-skipping-columns-while-writing-protobuf
Fix skipping columns while writing protobuf
2021-12-05 18:01:11 +03:00
alexey-milovidov
6cfb17d10f
Merge pull request #32219 from azat/fix-jemalloc-on-osx
Fix jemalloc under osx
2021-12-05 16:34:18 +03:00
Maksim Kita
4077d769e7
Merge pull request #31949 from Algunenano/parser_speedup
Speedup query parsing
2021-12-05 16:24:45 +03:00
Maksim Kita
3621779b9f
Merge pull request #32184 from kitaisreal/accurate-cast-or-default-remove-separate-branch
Function accurateCastOrDefault remove separate branch
2021-12-05 16:23:50 +03:00
romanzhukov
030ea3dc3f .. 2021-12-05 02:08:42 +03:00
Vitaly Baranov
2e0b480044 Improve error handling while serializing protobufs. 2021-12-04 21:42:45 +03:00
Vitaly Baranov
15e3dbe3f2 Fix skipping columns in Nested while writing protobuf. 2021-12-04 18:00:02 +03:00
vxider
78ceb5c883 add illegal arg check 2021-12-04 14:18:10 +00:00
frank chen
55d50c0b4d Improve span operation name
Signed-off-by: frank chen <frank.chen021@outlook.com>
2021-12-04 21:56:52 +08:00
vxider
c522c06755 fix windowview parser 2021-12-04 12:30:04 +00:00
Kseniia Sumarokova
ae214ffc5b
Merge pull request #32222 from kssenii/fix-remaining-window-tests
Add missing timezones to some tests
2021-12-04 12:29:06 +03:00
Azat Khuzhin
abab7108e4 Fix QueryProfiler building under osx
Fixes: #32165
2021-12-04 09:19:34 +03:00
Azat Khuzhin
22a74dc68d Make jemalloc under osx even more reliable
- explicitly call zone_register() again
- explicitly call malloc(free()) to initialize jemalloc()
2021-12-04 09:19:34 +03:00
Azat Khuzhin
130be9a4f9 Bump libpqxx to fix assertion in jemalloc
Refs: https://github.com/ClickHouse-Extras/libpqxx/pull/5
2021-12-04 09:19:34 +03:00
Azat Khuzhin
4709ff9340 More generic check for CMAKE_BUILD_TYPE in jemalloc 2021-12-04 09:19:34 +03:00
Maksim Kita
5dfd70530e
Merge pull request #32224 from den-crane/patch-45
doc. fix typo
2021-12-04 02:54:38 +03:00
Denny Crane
8e202d980a
fix typo 2021-12-03 18:03:07 -04:00
alexey-milovidov
d4c7f24744
Merge pull request #32203 from Algunenano/master_i32186
Add test for #32186
2021-12-04 00:54:21 +03:00