Commit Graph

7345 Commits

Author SHA1 Message Date
Pablo Marcos
898dd8bb8e Throw exception in bitShift for negative shift positions 2024-06-28 15:20:15 +00:00
Pablo Marcos
d63f70e4f1 Add bound check to bitTestAll and bitTestAny 2024-06-28 11:17:35 +00:00
Pablo Marcos
146a7e13d9 Throw exception in bitTest when position is out of bound
This happens whenever the number of bit positions is bigger
than the number of bits in the number, or when the bit position
is negative.
2024-06-28 11:17:35 +00:00
Antonio Andelic
510924b6b2
Merge pull request #65768 from ClickHouse/fix-parse-iso-date
Fix invalid exceptions in `parseDateTime` with `%F` and `%D` placeholders
2024-06-28 08:07:36 +00:00
Nikita Taranov
f838c25d20
Merge pull request #65705 from ClickHouse/fix_linkage
Fix duplicate symbol linkage error
2024-06-27 23:02:09 +00:00
Antonio Andelic
fcf8189b75 More fixes 2024-06-27 15:09:36 +02:00
Nikita Taranov
b8e803218c remote shart 2024-06-27 13:32:23 +01:00
Antonio Andelic
988ba2e22d Fix mysqlISO8601Date 2024-06-27 14:17:37 +02:00
Robert Schulze
8b772f3fe3
Merge remote-tracking branch 'rschu1ze/master' into base64URL 2024-06-27 11:07:39 +00:00
Robert Schulze
7d26f45a28
base64En/Decode64Url --> base64En/Decode64URL 2024-06-27 09:05:44 +00:00
Anton Popov
9c7837b030 Merge remote-tracking branch 'upstream/master' into HEAD 2024-06-26 13:19:55 +00:00
Nikita Taranov
89a8925f80 impl 2024-06-26 12:02:15 +01:00
János Benjamin Antal
13a3efd655
Merge pull request #65455 from chloro-pn/array_min_max_generic
refactor arrayMin/arrayMax to have a generic specialization
2024-06-24 16:45:33 +00:00
Robert Schulze
f3ce055e73
Fix ubsan issue 2024-06-23 11:38:27 +00:00
Robert Schulze
8249efb8c7
Replace setting 'uniform_snowflake_conversion_functions' by 'allow_deprecated_snowflake_conversion_functions' 2024-06-21 09:37:06 +00:00
chloro
5c369d44b6 refactor arrayMin/arrayMax to have a generic specialization 2024-06-20 20:38:16 +08:00
lgbo-ustc
6d3836aca4 refactor hash join to reduce target size 2024-06-20 09:10:23 +08:00
Robert Schulze
fd59d7e02f
Merge pull request #64948 from rschu1ze/uniform-snowflake-id-conversion
Add uniform conversion functions for Snowflake IDs
2024-06-19 08:27:40 +00:00
liuneng
a12ebf05b8 add function edit distance utf8 2024-06-18 14:55:25 +08:00
Robert Schulze
95fe3a8035
Merge remote-tracking branch 'rschu1ze/master' into uniform-snowflake-id-conversion 2024-06-17 13:26:38 +00:00
Mikhail Gorshkov
a6520bcf90 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ADQM-1893 2024-06-13 14:03:11 +00:00
Anton Popov
dd28c05267 fix some cases 2024-06-12 20:21:52 +00:00
Mikhail Gorshkov
39914d848d Docs updated, __msan_unpoison usage fixed 2024-06-11 15:13:42 +00:00
Daniil Ivanik
e493856ddf
Merge pull request #64668 from KevinyhZou/improve_greatest_least_nullable_type
Improve function least/greatest for nullable numberic type arguments
2024-06-11 09:20:15 +00:00
kevinyhzou
727b75780c Merge branch 'master' into improve_greatest_least_nullable_type 2024-06-11 09:42:57 +08:00
Robert Schulze
71a42d427a Minor fixups 2024-06-10 18:31:50 +00:00
Robert Schulze
9b37288e7e
Merge remote-tracking branch 'rschu1ze/master' into uniform-snowflake-id-conversion 2024-06-10 16:49:36 +00:00
Mikhail Gorshkov
fdb32e825c PR post-review fixes 2024-06-10 15:39:38 +00:00
Mikhail Gorshkov
9e538b70bb Try to fix base64Url functions registration 2024-06-10 12:16:03 +00:00
Nikolai Kochetov
6baae1d1c8 Merge branch 'master' into fix-early-const-folding-analyzer 2024-06-10 11:21:13 +00:00
Mikhail Gorshkov
0da0d8dfb1 PR post-review fixes 2024-06-10 10:14:45 +00:00
Alexey Milovidov
e7caad8d05
Merge pull request #64952 from ClickHouse/strange-num
Fix error message (it was strange)
2024-06-09 06:32:22 +02:00
Alexey Milovidov
95e3adf976
Merge pull request #62519 from ClickHouse/linestring
Add support for `LineString` geometry type
2024-06-07 18:38:27 +02:00
Mikhail Gorshkov
98235ba2b1 Dedicated support for Base64URL encoding 2024-06-07 15:47:12 +00:00
Robert Schulze
9920c3d17f
Add uniform snowflakeID conversion functions 2024-06-07 11:16:46 +00:00
Mikhail Gorshkov
b98eca1e60 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-1892 2024-06-07 06:03:23 +00:00
Alexey Milovidov
05ea297c0d Fix error message (it was strange) 2024-06-07 03:47:35 +02:00
Amos Bird
dd9b15daf5
Fix tupleConcat of two empty tuples 2024-06-06 23:43:14 +08:00
Mikhail Gorshkov
f0c21da1d8 Style fixed 2024-06-06 11:06:16 +00:00
Mikhail Gorshkov
2f50e070ef Scale argument restricted to types (U)Int8 - (U)Int64 2024-06-06 10:34:59 +00:00
wudidapaopao
c96800e96d
Merge branch 'ClickHouse:master' into fix_integer_accurate_cast 2024-06-06 03:06:09 +08:00
Nikolai Kochetov
90fdcaa03e Merge branch 'master' into fix-early-const-folding-analyzer 2024-06-05 16:06:39 +00:00
Mikhail Gorshkov
7ce67265c7 PR post-review fixes 2024-06-05 14:06:31 +00:00
Mikhail Gorshkov
83901b82c9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-1892 2024-06-05 13:13:06 +00:00
Robert Schulze
1628c2985d Some fixups 2024-06-05 11:55:55 +00:00
kevinyhzou
2c28cf8059 review fix 2024-06-05 15:47:42 +08:00
kevinyhzou
2a14168075 improve least/greatest by allow nullable numberic fields compare 2024-06-05 15:47:42 +08:00
Alexey Milovidov
bb9091ad5a
Merge pull request #64582 from arenadata/ADQM-1868
Binary math functions Decimal support
2024-06-05 02:15:40 +02:00
Alexey Milovidov
78506304b7
Merge pull request #55061 from amosbird/support-empty-tuple-2
Support empty tuple [second implementation]
2024-06-05 02:00:03 +02:00
Robert Schulze
c061a42f35
Merge pull request #64742 from Beetelbrox/fjurado-61548/feat-add-parseReadableSize-function
Add `parseReadableSize` function
2024-06-04 18:39:33 +00:00
Mikhail Gorshkov
830acd3a89 Support non-const scale arguments in rounding functions 2024-06-04 15:32:38 +00:00
Francisco Javier Jurado Moreno
24cf1c7dbf Fix unintentional changes 2024-06-04 14:57:57 +02:00
Francisco Javier Jurado Moreno
c8565abaeb Remove trailing whitespace 2024-06-04 14:24:35 +02:00
Francisco Javier Jurado Moreno
858bfb429f Add wildcard at end of function name in comment 2024-06-04 14:16:29 +02:00
Francisco Javier Jurado Moreno
d60e14c1d7 Remove wildcard from comment 2024-06-04 14:15:10 +02:00
Francisco Javier Jurado Moreno
9e1c3f1081 Make ternary into full blown ifelse using constexpr and fix comment 2024-06-04 14:13:46 +02:00
Alexey Milovidov
84914f2c3d Remove iostream_debug_helpers 2024-06-04 05:48:45 +02:00
Raúl Marín
ee416a6862
Merge pull request #63723 from Algunenano/ifunction_column_size
Add a bunch of important asserts
2024-06-03 14:04:02 +00:00
Yarik Briukhovetskyi
230fbf76a9
Merge pull request #60156 from Artemmm91/hilbert-function
Add `hilbertEncode` and `hilbertDecode` functions
2024-06-03 12:23:01 +00:00
Mikhail Gorshkov
869134eaac Original remaining rows handling retained 2024-06-03 12:14:02 +00:00
Nikolai Kochetov
c45f57403b Merge branch 'master' into fix-early-const-folding-analyzer 2024-06-03 11:19:51 +00:00
Mikhail Gorshkov
f2bebae0d5 Original formatting retained 2024-06-03 10:55:19 +00:00
Mikhail Gorshkov
0a64a75f19 PR suggestions follow-ups 2024-06-03 10:44:36 +00:00
János Benjamin Antal
99f547529c Merge remote-tracking branch 'origin/master' into fix_integer_accurate_cast 2024-06-03 09:35:48 +00:00
Francisco Javier Jurado Moreno
66a28e7e69 Add parseReadableSize function 2024-06-03 10:35:01 +02:00
vdimir
4e0c806ca1
Fix empty tuple vector functions 2024-06-03 16:06:39 +08:00
Amos Bird
1826159c37
Fix tests 2024-06-03 16:05:44 +08:00
Amos Bird
b2d6610d5f
Support empty tuple. 2024-06-03 16:05:42 +08:00
Artem Mustafin
789bf13ba7 review fixes 2024-06-01 09:49:26 +00:00
Nikolai Kochetov
c9ce1362a1 Fix early constant folding for isNull/isNotNul and analyzer. 2024-05-31 12:50:29 +00:00
Robert Schulze
7faafec6c3
Merge remote-tracking branch 'ClickHouse/master' into fix_formatDateTimeInJodaSyntax 2024-05-31 12:23:31 +00:00
Robert Schulze
223712f485
Fixups 2024-05-31 12:17:04 +00:00
Mikhail Gorshkov
f3c97ff31f
Merge branch 'master' into ADQM-1868 2024-05-31 12:19:06 +03:00
Mikhail Gorshkov
0494c6115a Avoid copy 2024-05-31 03:24:04 +00:00
Mikhail Gorshkov
d729212036 Code and test enhanced 2024-05-30 17:03:15 +00:00
pufit
ce48e4626d
Merge pull request #64292 from Beetelbrox/fjurado-59849/feat-allow-comparison-between-ipv4-and-ipv6
[59849] Allow equality comparison between ipv4 and ipv6
2024-05-30 11:31:24 +00:00
Robert Schulze
d776d88797
Merge pull request #64435 from rschu1ze/revert-revert-64035-unreachable-unreachable
Revert "Revert "Remove some unnecessary UNREACHABLEs""
2024-05-30 10:42:40 +00:00
Mikhail Gorshkov
ae978a9ccd Formatting fixed, test fixed 2024-05-30 08:16:12 +00:00
Robert Schulze
48bd68a93e
Revert "Add fromReadableSize function" 2024-05-30 09:55:26 +02:00
liuneng
81096b91b5 fix formatDateTimeInJodaSyntax 2024-05-30 14:54:07 +08:00
Artem Mustafin
2c4b559eb0 fix test 2024-05-29 20:05:05 +00:00
Artem Mustafin
d6a11970a3 style 2024-05-29 17:42:59 +00:00
Artem Mustafin
29c362ded4 hilbert 2024-05-29 17:36:40 +00:00
Robert Schulze
2690b58eae
Merge pull request #64506 from rschu1ze/remove-generateUUIDv7-variants
Remove `generateUUIDv7(NonMonotonic|ThreadMonotonic)` functions
2024-05-29 15:05:47 +00:00
Mikhail Gorshkov
1ea6069712 Merge branch 'upstream_master' into 'ADQM-1868' 2024-05-29 13:46:57 +00:00
Mikhail Gorshkov
acc4b53c25 Refactored, formatting fix 2024-05-29 13:39:41 +00:00
Robert Schulze
18d432f44c
Reapply "Remove some unnecessary UNREACHABLEs"
This reverts commit 5a868304c0.
2024-05-29 13:37:47 +00:00
Robert Schulze
a87e99e736
Merge pull request #64386 from Beetelbrox/fjurado-61548/feat-add-fromreadablesize-function
Add `fromReadableSize` function
2024-05-29 11:05:29 +00:00
Artem Mustafin
78973489c1 fix gtest by adding header with Impl 2024-05-29 09:58:39 +00:00
Artem Mustafin
3f1941dd15 docs added 2024-05-28 18:25:37 +00:00
Raúl Marín
58408229ee
Merge pull request #64358 from Algunenano/rename_allow_deprecated_functions
Rename allow_deprecated_functions to allow_deprecated_error_prone_win…
2024-05-28 17:59:40 +00:00
Artem Mustafin
ffa0f88292 review 2024-05-28 17:59:06 +00:00
Robert Schulze
422e7b95cb
Restrict exceptions to ClickHouse exceptions + cosmetics 2024-05-28 15:53:30 +00:00
Robert Schulze
f99d514de6
Sync md and in-source docs 2024-05-28 15:45:05 +00:00
Robert Schulze
ff81473774
Improve encapsulation a bit and repair integer suffixes 2024-05-28 15:40:13 +00:00
Robert Schulze
554a8cd7c2
Merge pull request #64499 from rschu1ze/remove-generateSnowflakeIDThreadMonotonic
Remove `generateSnowflakeIDThreadMonotonic`
2024-05-28 14:54:30 +00:00
Francisco Javier Jurado Moreno
56e423f379 Couple of style fixes 2024-05-28 16:29:15 +02:00
Francisco Javier Jurado Moreno
c822a37cb8 Throw exception on infinite & nan inputs, add corresponding tests 2024-05-28 16:16:45 +02:00
Mikhail Gorshkov
1f31f19da5 Fixes and documentation 2024-05-28 13:09:41 +00:00
Francisco Javier Jurado Moreno
32d22630c3 Change scale_factors to reference 2024-05-28 14:53:15 +02:00