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
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
Robert Schulze
516fa1c375
Merge branch 'master' into rs/entropy-learned-hashing
2023-05-29 17:40:14 +02: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
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
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
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
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
Arthur Passos
b06e34a77f
Accept key value delimiter as part of value
2023-05-15 13:52:47 +02:00
Kruglov Pavel
558eda4146
Merge pull request #49412 from azat/block-use-dense-hash-map
...
Switch Block::NameMap to google::dense_hash_map over HashMap
2023-05-15 12:22:55 +02:00
Alexey Milovidov
1db35384d9
Support bitCount
for big integers
2023-05-15 03:30:03 +02:00
robot-clickhouse
33ca77b4ca
Merge pull request #49843 from azat/joinGet-non-deterministic
...
[RFC] Mark joinGet() as non deterministic (so as dictGet)
2023-05-14 11:12:12 +02:00
Alexey Milovidov
4f7bcf01f6
Merge pull request #49858 from ucasfl/bit-hamming
...
bitHammingDistance support String and FixedString data type
2023-05-14 08:28:01 +03:00
Robert Schulze
c4f7c3daa1
Merge branch 'master' into rs/entropy-learned-hashing
2023-05-13 17:33:12 +02:00
flynn
2f88605c3d
remove space
...
format
2023-05-13 14:03:21 +00:00
flynn
2ffd00df8a
bitHammingDistance support String and FixedString data type
2023-05-13 13:56:36 +00:00
Azat Khuzhin
a96067987e
Mark joinGet() as non deterministic (so as dictGet)
...
joinGet() should not be considered as deterministic function, since
shards could have different data in tables.
Also since now there is allow_nondeterministic_mutations, it could be
used as a workaround for this backward incompatible change.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-13 08:12:53 +02:00
Alexey Milovidov
5a44dc26e7
Fixes for clang-17
2023-05-13 02:57:31 +02:00
Arthur Passos
b1549a19a5
Use 0 as unlimited
2023-05-12 11:19:35 -03:00
Arthur Passos
1e3b7af97a
Add setting to limit the max number of pairs produced by extractKeyValuePairs
2023-05-12 10:26:05 -03: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
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
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
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
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
76f7f5750d
Merge pull request #49799 from rschu1ze/demange
...
Typo: demange.cpp --> demangle.cpp
2023-05-12 02:01:49 +03:00
Robert Schulze
8ca804d40e
Typo: demange.cpp --> demangle.cpp
2023-05-11 21:32:12 +00:00
Robert Schulze
bbfb74ab70
Update comment
2023-05-11 19:06:04 +00:00