Commit Graph

115165 Commits

Author SHA1 Message Date
Robert Schulze
9d34233e65
Merge branch 'master' into iaadeflate_swpath_compat 2023-05-12 16:39:17 +02:00
Robert Schulze
5235f52de3
Small rewrite, removed note about farm hash (it seemed fragile: https://github.com/ClickHouse/ClickHouse/issues/8354#issuecomment-974808920) 2023-05-12 16:38:32 +02:00
Arthur Passos
b1549a19a5 Use 0 as unlimited 2023-05-12 11:19:35 -03:00
DanRoscigno
b8b4723aa6 add max_rows_in_set_to_optimize_join docs 2023-05-12 10:19:30 -04:00
Dmitry Novik
5fdaef851c Handle constants carefully 2023-05-12 14:14:40 +00:00
Diego Nieto
78127d8a2c
Merge branch 'ClickHouse:master' into master 2023-05-12 16:08:48 +02:00
jinjunzh
e72a6fe973 qpl-deflate codec lower the minimum SIMD version to SSE 4.2 2023-05-12 09:56:01 -04:00
Arthur Passos
1e3b7af97a Add setting to limit the max number of pairs produced by extractKeyValuePairs 2023-05-12 10:26:05 -03:00
Alexander Gololobov
fcce60ad25 Randomize enable_multiple_prewhere_read_steps 2023-05-12 15:09:34 +02:00
Dan Roscigno
596e50ebc0
Merge pull request #49830 from DanRoscigno/docs-udfs
uplevel UDFs and link
2023-05-12 09:05:39 -04:00
HarryLeeIBM
809fdc7b16 Fix DefaultHash64 for s390x 2023-05-12 06:00:47 -07:00
AnneClickHouse
c4344c1de9
Update README.md
Adding careers to bottom of readme
2023-05-12 14:59:01 +02:00
DanRoscigno
0b9e575588 uplevel UDFs and link 2023-05-12 08:05:38 -04:00
Eridanus
8dc2cad027 test(parser): add hint for create quota overflow test 2023-05-12 20:03:46 +08:00
serxa
5807737804 temporarily disable JobFailure test 2023-05-12 12:02:45 +00:00
Salvatore Mesoraca
8f7546740c
Make 01533_multiple_nested test more reliable
Tests run with random values for `min_bytes_to_use_direct_io`.
As a consequence, tests open files using Direct I/O, occasionally.

If the filesystem doesn't support DIRECT_IO (e.g. tmpfs) the open
will fail and it will be attempted again without that flag, but the
failed open is still accounted for in `ProfileEvents['FileOpen']`.

This change is needed to prevent the test from failing
just because the target FS doesn't support DIRECT_IO.
2023-05-12 13:54:58 +02:00
Robert Schulze
b9c185af44
Merge pull request #49678 from azat/build/llvm-16
Switch to LLVM/clang 16 (16.0.3)
2023-05-12 13:47:36 +02:00
Denny Crane
051456ba92
Update hash-functions.md 2023-05-12 08:33:27 -03:00
Diego Nieto
ba44b23889
Merge branch 'ClickHouse:master' into master 2023-05-12 13:31:12 +02:00
Antonio Andelic
e0a3ac41b0
Merge pull request #49776 from azat/settings-aliases
Fix settings aliases in native protocol
2023-05-12 13:30:16 +02:00
Anton Popov
3351ef7398
Merge pull request #49789 from CurtizJ/fix-array-map-tuple
Fix `arrayMap` with array of tuples with single argument
2023-05-12 13:27:40 +02:00
Denny Crane
47b27ca5fb
Update hash-functions.md 2023-05-12 08:23:02 -03:00
Igor Nikonov
a3e26dd22f
Merge pull request #49565 from ClickHouse/analyzer-01655_plan_optimizations_optimize_read_in_window_order
Fix 01655_plan_optimizations_optimize_read_in_window_order for analyzer
2023-05-12 13:22:40 +02:00
Igor Nikonov
5513c74c96
Merge pull request #49677 from ClickHouse/enable-distinct-in-order
Enable distinct in order after fix #49636
2023-05-12 13:21:09 +02:00
Sema Checherinda
a1ee7d52e1
Merge pull request #49432 from CheSema/lost-blobs
all s3-blobs removed when merge aborted, remove part from failed fetch without unlock keper
2023-05-12 13:19:27 +02:00
alesapin
d147cb105c
Merge pull request #49755 from CurtizJ/fix-unit-test
Fix unit test `ExceptionFromWait`
2023-05-12 13:08:48 +02:00
Sema Checherinda
5706e05757 adding more comments 2023-05-12 13:00:56 +02:00
Vitaly Baranov
a4694ac185 Add test. 2023-05-12 12:36:27 +02:00
vdimir
94bfb1171d
Merge pull request #49784 from ClickHouse/vdimir/analyzer_prewhere_and_sample 2023-05-12 12:25:36 +02:00
Alexander Gololobov
7c7565f094
Merge pull request #49737 from ClickHouse/fix_lwd_and_object
Ignore LWD column in checkPartDynamicColumns
2023-05-12 12:20:07 +02:00
Sema Checherinda
22f7aa8d89 make special build pass 2023-05-12 12:00:15 +02:00
Dan Roscigno
56a563f2bd
Merge pull request #49810 from DanRoscigno/doc-greatest-least
add greatest() and least() docs
2023-05-12 05:52:01 -04:00
Diego Nieto
7dcaa0a25c
Merge branch 'master' into master 2023-05-12 11:46:37 +02:00
Diego Nieto (lesandie)
8fc0083a26 Rewrite following conversation/comments 2023-05-12 11:45:38 +02:00
Robert Schulze
2b980c9a19
Merge pull request #49822 from rschu1ze/rapidly-approaching
README.md: 4 --> 5
2023-05-12 11:42:40 +02:00
Robert Schulze
4d1b113d36
README.md: 4 --> 5 2023-05-12 09:41:13 +00:00
Han Fei
07341a04fd
Merge pull request #49666 from hanfei1991/hanfei/regexp-dict-read
Support `dictionary` table function for `RegExpTreeDictionary`
2023-05-12 11:40:46 +02:00
Nikita Mikhaylov
66badcd59c
Merge pull request #49725 from vitlibar/incremental-backup-append-table-def
Fix writing appended files to incremental backups
2023-05-12 11:37:49 +02:00
Robert Schulze
922420420c
Merge pull request #49300 from ClickHouse/rs/functdocs
Introduce more fields for in-source function documentation
2023-05-12 11:36:04 +02:00
Vitaly Baranov
eb62030fa4 Fix assigning a setting to NULL in settings profile's definition. 2023-05-12 11:04:30 +02:00
Azat Khuzhin
fa2074e67b Use CLOCK_MONOTONIC_RAW over CLOCK_MONOTONIC on Linux (fixes non monotonic clock)
There is no bug in Linux, the issue that CLOCK_MONOTONIC returns values
less then previous calls likely happens due to adjtime(3) (NTP), since
CLOCK_MONOTONIC is affected by it, and I've seen lots of slight time
modifications due to NTP on the servers. And even on my desktop (I also
have NTP enabled):

    CLOCK_MONOTONIC:     189292.803 (2 days +  4h 34m 52s)
    CLOCK_MONOTONIC_RAW: 189290.016 (2 days +  4h 34m 50s)

However on Linux there is CLOCK_MONOTONIC_RAW, it is similar to
CLOCK_MONOTONIC, but does not affected by the adjtime(3).

About performance, it is the same:

    CLOCK_MONOTONIC 10e6:     real=0m0.191s user=0m0.190s sys=0m0.000s
    CLOCK_MONOTONIC_RAW 10e6: real=0m0.191s user=0m0.191s sys=0m0.000s

Ops/s:
- AMD Threadripper: 52.3e6
- Xeon Silver 4216 2.10: 46.5e6

Fixes: c5d631ca54
Fixes: #29811 (cc @tavplubix)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-12 10:59:53 +02:00
Robert Schulze
d15f19912f
Merge pull request #49198 from ClibMouse/s390x_reinterpretas_fix
Fix reinterpretAs*() on big endian machines
2023-05-12 10:33:50 +02:00
Diego Nieto
4b69a203ea
Merge branch 'ClickHouse:master' into master 2023-05-12 10:07:18 +02:00
Azat Khuzhin
9c42f7f113 Fix settings aliases in native protocol
The initial test (tests/queries/0_stateless/02539_settings_alias.sh)
works only because of the clickhouse-client, while in native protocol
aliases does not work.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-12 05:56:32 +02:00
Azat Khuzhin
2c40dd6a4c Switch Block::NameMap to google::dense_hash_map over HashMap
Since HashMap creates 2^8 elements by default, while dense_hash_map
should be good here.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-12 05:52:57 +02:00
Alexey Milovidov
5bb1db0fa8 Allow loading dicrionaries and functions from YAML by default 2023-05-12 05:19:01 +02:00
DanRoscigno
11f78fed2b fix markdown spaces 2023-05-11 21:40:47 -04:00
DanRoscigno
a14ad025ee add greatest and least docs 2023-05-11 21:33:36 -04:00
Alexey Milovidov
fc993f4c07
Merge pull request #49809 from ClickHouse/alexey-milovidov-patch-7
Update build-cross-riscv.md
2023-05-12 03:19:01 +03:00
Alexey Milovidov
cf2b158072
Update build-cross-riscv.md 2023-05-12 03:18:43 +03:00