Azat Khuzhin
bf127f4e1e
MSan support for Rust
...
Previously you have to unpoison memory from the Rust, however Rust does
supports MSan, so let's simply use it.
But for this we need nightly Rust and recompile standard library.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-04 23:04:55 +02:00
Alexey Milovidov
054b908b9c
Merge pull request #50416 from ClickHouse/revert-49656-rs/entropy-learned-hashing
...
Revert "Add SQL functions for Entropy Learned Hashing"
2023-06-03 06:50:48 +03:00
Kruglov Pavel
f87f98fb80
Merge pull request #47409 from Avogar/random-structure
...
Add new function generateRandomStructure
2023-06-02 18:50:35 +02:00
Robert Schulze
12993890a8
Merge branch 'master' into revert-49656-rs/entropy-learned-hashing
2023-06-02 15:32:33 +02:00
Robert Schulze
7070eac9db
Merge branch 'ClickHouse:master' into fix-const-int-hashing
2023-06-02 10:57:18 +02:00
Robert Schulze
45b1fcdeda
Merge pull request #50315 from arenadata/ADQM-810
...
Add new function toLastDayOfWeek()
2023-06-01 16:19:14 +02:00
Robert Schulze
03628bde42
Fix hashing of const integer values
2023-06-01 12:54:34 +00:00
Robert Schulze
93ba75b370
Remove parentheses from single-line if/for
2023-06-01 12:51:38 +00:00
Robert Schulze
56fa98cb77
Rename variables for better readability
2023-06-01 12:51:30 +00:00
Alexander Tokmakov
9a2b3afb7e
Revert "Fix msan issue in keyed siphash"
2023-06-01 15:02:32 +03:00
Kruglov Pavel
7485962443
Merge pull request #50343 from Avogar/fix-bit-shift-func
...
Fix bitShift* functions with both constant arguments
2023-06-01 13:53:36 +02:00
Robert Schulze
08d98329b0
Revert "Add SQL functions for Entropy Learned Hashing"
2023-06-01 10:12:09 +02:00
Robert Schulze
c5343679df
Merge branch 'master' into msan-siphash-keyed
2023-05-31 09:05:24 +02:00
Robert Schulze
fc157b3dad
Merge branch 'master' into msan-siphash-keyed
2023-05-30 21:30:33 +02:00
avogar
c87e8c1f23
Fix bitShift* functions with both constant arguments
2023-05-30 12:12:54 +00:00
Robert Schulze
1cbce21968
Better, pt. II
2023-05-30 11:46:23 +00:00
Robert Schulze
2d06947522
Better
2023-05-30 09:06:45 +00:00
Robert Schulze
fb6c4f2802
Fix msan issue, pt. II
2023-05-30 08:51:44 +00:00
Victor Krasnov
6c94632d47
Deprive toStartOfWeek and toLastDayOfWeek functions of in-source documentation
2023-05-29 22:10:34 +00:00
Robert Schulze
516fa1c375
Merge branch 'master' into rs/entropy-learned-hashing
2023-05-29 17:40:14 +02:00
Victor Krasnov
0ad5b9f598
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-810-dev
2023-05-29 08:26:26 +00:00
Robert Schulze
41d60f0be3
Fix style
2023-05-29 08:08:47 +00:00
Maksim Kita
7ef20bbdcd
Function equals NaN fix
2023-05-28 17:02:46 +03:00
Robert Schulze
f49160ef4e
Build partial key positions from entire training data
2023-05-26 15:27:56 +00:00
Robert Schulze
2298eeb2b2
Merge branch 'master' into rs/entropy-learned-hashing
2023-05-26 12:04:49 +02:00
Robert Schulze
ad4a21034f
Fix msan issue in keyed siphash
...
Issue:
https://s3.amazonaws.com/clickhouse-test-reports/0/ffdd91669471f4934704f98f0191524496b4e85b/fuzzer_astfuzzermsan/report.html
Repro:
SELECT hex(sipHash128ReferenceKeyed((toUInt64(2), toUInt64(-9223372036854775807)))) GROUP BY (toUInt64(506097522914230528), toUInt64(now64(2, NULL + NULL), 1084818905618843912)), toUInt64(2), NULL + NULL, char(-2147483649, 1)
Minimal repro:
SELECT sipHash64Keyed((2::UInt64, toUInt64(2)), 4) GROUP BY toUInt64(2)
2023-05-25 17:52:03 +00:00
Robert Schulze
eca08438f4
Fix macos build
2023-05-25 17:05:18 +00:00
Robert Schulze
8804dfd4b0
Fix resizing
2023-05-25 11:57:09 +00:00
Victor Krasnov
03ca3f96d2
Add built-in documentation to toStartOfWeek and toLastDayOfWeek functions
2023-05-24 17:40:21 +00:00
Robert Schulze
889489b02e
Merge branch 'master' into space
2023-05-23 23:18:19 +02:00
Robert Schulze
285e8f4ae1
Protect against DOS
2023-05-23 12:16:49 +00:00
Robert Schulze
f4c73e94d2
Merge pull request #49989 from arenadata/ADQM-811
...
Add support of Date|Date32 arguments to the toUnixTimestamp() function
2023-05-23 08:55:56 +02:00
Robert Schulze
d9a7227cf4
Fix style check
2023-05-23 06:49:19 +00:00
avogar
646eeb63a4
Fix build
2023-05-22 19:46:05 +00:00
avogar
4f85d6a1bb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-structure
2023-05-22 19:43:24 +00:00
Robert Schulze
d76498dca0
reserve() --> resize()
2023-05-22 19:19:08 +00:00
Robert Schulze
d5cfcdfae1
String terminator: \n --> \0
2023-05-22 19:10:03 +00:00
Robert Schulze
df436b2cd4
Spark compatibility: Add new function space()
2023-05-22 14:52:51 +00:00
Maksim Kita
804e5e12ba
JIT compilation not equals NaN fix
2023-05-22 13:14:27 +03:00
Victor Krasnov
98aace14ae
Add DATE_SECONDS_PER_DAY macro definition to replace the numeric literal 86400
2023-05-22 09:23:23 +00:00
vdimir
8b77e2096c
Merge pull request #49760 from arthurpassos/extract_kv_ignore_kv_delimiter_when_reading_value
2023-05-20 13:27:59 +02:00
Victor Krasnov
3a3e413552
Implement toLastDayWeek function
2023-05-18 21:47:52 +00:00
Victor Krasnov
83d066e5cf
Re-enable Date and Date32 as parameters of toUnixTimestamp function
2023-05-18 09:07:27 +00:00
FFFFFFFHHHHHHH
fd1e6557e1
Merge branch 'master' into dot_product
2023-05-17 14:40:06 +08:00
fhbai
c104354894
fix
2023-05-17 14:39:30 +08:00
Kruglov Pavel
d50e6fe868
Fix build after bad conflicts resolution
2023-05-16 15:35:16 +02:00
Kruglov Pavel
b6d2a84e83
Try to fix build
2023-05-16 12:01:55 +02:00
Kruglov Pavel
362fa4849f
Try to fix build
2023-05-15 17:56:53 +02:00
vdimir
07de815d96
Merge pull request #49836 from arthurpassos/add_extract_kv_max_number_of_pairs_safeguard
2023-05-15 16:31:01 +02:00
Arthur Passos
e8f971aa2b
use LIMIT_EXCEEDED instead of TOO_LARGE_MAP_SIZE
2023-05-15 09:25:10 -03:00