Commit Graph

94998 Commits

Author SHA1 Message Date
Azat Khuzhin
d3e8ad9e7e Fix keeper-bench in case of error during scheduling a thread
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-12 10:56:11 +02:00
Maksim Kita
e2ae0d585b
Merge pull request #40078 from Algunenano/threadlocal_perf
Optimize CurrentMemoryTracker alloc and free
2022-08-12 10:24:54 +02:00
Antonio Andelic
7237d2032c
Merge pull request #40139 from ClickHouse/cardianlity
Fix typo
2022-08-12 08:43:19 +02:00
Robert Schulze
55ff546322
Fix typo 2022-08-11 20:42:59 +00:00
Dan Roscigno
35ee71a908
Merge pull request #40110 from ClickHouse/fix-docs-for-39287
Fix documentation of "modulo(a, b)"
2022-08-11 16:14:28 -04:00
Alexander Tokmakov
1da908ef71
Merge pull request #40136 from ClickHouse/tavplubix-patch-3
Disable 02390_prometheus_ClickHouseStatusInfo_DictionaryStatus with Ordinary database
2022-08-11 22:00:46 +03:00
Alexander Tokmakov
cad311565c
Update 02390_prometheus_ClickHouseStatusInfo_DictionaryStatus.sh 2022-08-11 21:57:04 +03:00
Alexander Tokmakov
4b4b5e91b2
Merge pull request #39992 from ClickHouse/fix-jepsen-counter-test
Use different root path for Jepsen Counter test
2022-08-11 21:38:10 +03:00
Kseniia Sumarokova
be69169f97
Merge pull request #38048 from KinderRiven/decoupling_cache_function_and_algorithm
Decoupling local cache function and cache algorithm
2022-08-11 16:49:56 +02:00
Maksim Kita
45d69951e2
Merge pull request #40069 from Algunenano/interpreter_udf_visitor
Don't visit the AST for UDFs if none are registered
2022-08-11 14:54:14 +02:00
Vladimir C
1b44cb5c97
Merge pull request #39974 from ClickHouse/vdimir/setting-num-with-auto
Add setting type to support special 'auto' value
2022-08-11 14:25:10 +02:00
Raúl Marín
11a274e990 Clean up constinit usage and add a comment 2022-08-11 13:27:53 +02:00
Vladimir C
643084417e
Merge pull request #40113 from vdimir/dict-join-refactoring-followup
Delete files DictionaryJoinAdapter.h/cpp
2022-08-11 13:25:45 +02:00
Mikhail f. Shiryaev
22416193da
Merge pull request #40112 from ClickHouse/jobs-log
Use a job ID as ref text
2022-08-11 13:23:16 +02:00
Vladimir C
96776d3028
Trim trailing whitespaces in SettingsFields.h 2022-08-11 13:15:28 +02:00
Maksim Kita
627424889d
Merge pull request #39926 from azat/dict-prom-fix
Remove dictionaries from prometheus metrics on DETACH/DROP
2022-08-11 13:10:47 +02:00
Alexander Tokmakov
2f77266962
Merge pull request #40072 from ClickHouse/tavplubix-patch-3
Finally fix `_csv.Error: field larger than field limit`
2022-08-11 14:04:21 +03:00
Kruglov Pavel
c112a85f4a
Merge pull request #39811 from ClickHouse/revert-39804-revert-39510-update-arrow
Revert "Revert "Update arrow to fix possible data race""
2022-08-11 12:59:03 +02:00
Jianmei Zhang
d1051d822c
Use getSerializedFileExtension() to get correct file extension for index (#40095) 2022-08-11 12:39:40 +02:00
vdimir
61ad12279e
Delete files DictionaryJoinAdapter.h/cpp
Follow-up for https://github.com/ClickHouse/ClickHouse/pull/38956
2022-08-11 10:27:14 +00:00
Vladimir C
261ccc35cf
Rename SettingAutoWrapper, add comment to readBinary
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
Co-authored-by: Maksim Kita <maksim@clickhouse.com>
2022-08-11 12:18:44 +02:00
Anton Popov
c746dcd644
Merge pull request #40034 from CurtizJ/fix-parsing-arrays-of-tuples
Fix parsing of tuples in case of errors
2022-08-11 12:10:27 +02:00
Mikhail f. Shiryaev
9f45532999
Use a job ID as ref text 2022-08-11 12:05:16 +02:00
Maksim Kita
6bec0f5854
Merge pull request #38956 from vdimir/dict-join-refactoring
Join with dictionary refactoring
2022-08-11 11:54:11 +02:00
Robert Schulze
1f10c4be8c
Update docs/ru/sql-reference/functions/arithmetic-functions.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-08-11 11:25:33 +02:00
Vladimir C
2d44e6c458
Merge pull request #39343 from vdimir/refactor-prepared-sets
Refactor PreparedSets/SubqueryForSet
2022-08-11 11:19:18 +02:00
Mikhail f. Shiryaev
2b61110f3f
Merge pull request #40066 from ClickHouse/s3-env
Replace S3 URLs by parameter
2022-08-11 10:49:05 +02:00
Robert Schulze
aa42a42e0f
Fix documentation of "modulo(a, b)"
Fixes #39287

ClickHouse uses the same semantics for modulo on floats as Python, i.e.
  4.2 % 2.0 = 0.2
and not as previously documented:
  4.2 % 2.0 --> (drop decimal places) --> 4 % 2 = 0.

Fixed the documentation.
2022-08-11 08:23:43 +00:00
Nikolai Kochetov
971d94e492
Merge pull request #38682 from ClickHouse/separate-counter-for-rss-in-memory-tracker
Use separate counter for RSS in global memory tracker.
2022-08-11 10:11:18 +02:00
Nikolai Kochetov
5337d21fb4 Mute test. 2022-08-11 08:08:20 +00:00
Robert Schulze
859e44309c
Merge pull request #40075 from azat/tests/partial-tz
tests: fix 00926_adaptive_index_granularity_pk/00489_pk_subexpression flakiness
2022-08-11 09:45:02 +02:00
Robert Schulze
e7d1012c4b
Merge pull request #40057 from azat/clickhouse-test-fix
Fix clickhouse-test hang in case of CREATE DATABASE fails
2022-08-11 09:43:31 +02:00
Alexey Milovidov
8374f31306
Merge pull request #39425 from arenadata/ADQM-485
Add support of dates from year 1900 to 2299 for Date32 and DateTime64
2022-08-11 05:01:53 +03:00
Dan Roscigno
41476d2034
Merge pull request #40092 from DanRoscigno/fix-indent
remove indent as it causes codeblock
2022-08-10 20:31:02 -04:00
Nikolay Degterinsky
547662f88b
Merge pull request #40002 from Algunenano/fix_hashid
Fix hashId crash and salt parameter not being used
2022-08-11 02:25:10 +02:00
DanRoscigno
b268e4206a remove indent as it causes codeblock 2022-08-10 20:09:43 -04:00
Anton Popov
3fdf428834
Merge pull request #39186 from Avogar/numbers-schema-inference
Add new features in schema inference
2022-08-11 00:53:54 +02:00
Mikhail f. Shiryaev
a404b85dc7
Merge pull request #40090 from ClickHouse/changelogs-and-versions
Changelogs and versions
2022-08-11 00:24:11 +02:00
Mikhail f. Shiryaev
f47873769e
Add omitted changelogs 2022-08-11 00:18:08 +02:00
Mikhail f. Shiryaev
5934c6519f
Regenerate changelogs and update versions 2022-08-11 00:06:01 +02:00
Nikolay Degterinsky
496568101f
Merge pull request #39277 from ClibMouse/Structured-Logging-Support
Structured logging support
2022-08-10 22:57:48 +02:00
Robert Schulze
11cd21630a
Merge pull request #40008 from HarryLeeIBM/hlee-s390x-codec
Fix Endian issues in Codec for s390x
2022-08-10 22:10:17 +02:00
Alexey Milovidov
1dcc1c6b73
Merge pull request #40024 from ClickHouse/nickitat-patch-2
Update 02354_distributed_with_external_aggregation_memory_usage.sql
2022-08-10 23:05:34 +03:00
Raúl Marín
d7a545e30d Try to optimize CurrentMemoryTracker alloc and free 2022-08-10 22:05:09 +02:00
Raúl Marín
ce9c0c2da3 Style 2022-08-10 21:53:11 +02:00
Azat Khuzhin
6a30c23252
tests/performance: cover sparse_hashed dictionary (#40027)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-10 21:48:00 +02:00
Nikolai Kochetov
c9353cbae8
Merge branch 'master' into separate-counter-for-rss-in-memory-tracker 2022-08-10 21:39:50 +02:00
Rich Raposa
9f85d85e08
The admonitions were missing section endings (#40073) 2022-08-10 21:08:40 +02:00
Azat Khuzhin
9284b9b42f tests: fix 00926_adaptive_index_granularity_pk/00489_pk_subexpression flakiness
It is possible for toStartOfMinute() to give different result for 0 and
59, for partial timezones (timezone that does not starts from 00:00,
like Africa/Monrovia).

Before #36656 it fails for another reason, because of overflows [1], but
now it fails because it simply return different minutes.

  [1]: https://github.com/ClickHouse/ClickHouse/pull/29953#discussion_r800550280

Simply pin the UTC there.

Fixes: #37786
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-10 20:33:52 +02:00
Alexander Tokmakov
bb46bfa6d9
Update process_functional_tests_result.py 2022-08-10 21:20:52 +03:00