Robert Schulze
c0d56c7bee
Implement format() with arbitrary arguments
2023-12-05 22:51:30 +00:00
Robert Schulze
3305f46676
Less silly #includes
2023-12-05 20:14:11 +00:00
Robert Schulze
4acfbe948d
Iterate less awkwardly
2023-12-05 20:10:49 +00:00
Robert Schulze
7fed06158b
Remove unnecessary template + whitespace
2023-12-05 20:09:17 +00:00
Robert Schulze
a7f0488059
Rename Functions/formatString.cpp --> Functions/format.cpp
2023-12-05 20:07:26 +00:00
Alexey Milovidov
d7d83c99e5
Revert "Implemented series period detect method using pocketfft lib"
2023-12-05 18:17:07 +03:00
Nikolay Degterinsky
7f59eb438d
Merge pull request #57379 from evillique/fix-jsonmergepatch
...
Fix function jsonMergePatch for partially const columns
2023-12-05 15:14:30 +01:00
Alexey Milovidov
8d5d0ef38f
Revert "Add sqid()
function"
2023-12-05 13:45:33 +03:00
Alexey Milovidov
cbea3545aa
Revert "add function getClientHTTPHeader"
2023-12-05 13:34:34 +03:00
Nikolay Degterinsky
265e2b30a8
Even better
2023-12-04 18:42:25 +01:00
Nikolay Degterinsky
947106972d
Better type check
2023-12-04 18:27:10 +01:00
Robert Schulze
8db3bac7bd
Merge pull request #57442 from awakeljw/dev
...
Add `sqid()` function
2023-12-04 15:50:28 +01:00
awakeljw
6c70e32da1
rename squids to sqids
2023-12-04 11:26:55 +08:00
Robert Schulze
f6036fbb29
Some fixups
2023-12-03 16:20:59 +00:00
KevinyhZou
adbc819a09
Fix JSON_QUERY function with multiple numeric paths ( #57096 )
...
* Fix json_query parse error while path has numuber
* Fix json_query with numberic path
* remove unuse code
* remove code
* review
* resume some code
2023-12-03 15:53:50 +01:00
awakeljw
06241de257
fix codes according to the reviews
2023-12-03 22:00:42 +08:00
Nikolay Degterinsky
16f6a6de17
Better fix
2023-12-02 23:48:12 +00:00
awakeljw
1a0dc1375c
sqids only support unsigned integers
2023-12-03 05:12:12 +08:00
awakeljw
e5a72f15dd
support sqids
2023-12-02 21:12:48 +08:00
Raúl Marín
46acd8736c
Merge pull request #57189 from Algunenano/fix_respect_nulls
...
Fix RESPECT NULLS
2023-11-30 20:21:42 +01:00
Nikolay Degterinsky
c8d964865e
Fix function jsonMergePatch
2023-11-30 04:14:42 +00:00
Raúl Marín
b102145a4f
Merge pull request #57301 from Algunenano/fix_reports
...
Fix code reports
2023-11-29 11:11:33 +01:00
Raúl Marín
48fff248e5
Merge remote-tracking branch 'blessed/master' into fix_respect_nulls
2023-11-28 12:28:36 +01:00
Antonio Andelic
a61f32867e
Merge pull request #56488 from lingtaolf/feature/getHTTPHeader
...
add function getClientHTTPHeader
2023-11-28 11:41:56 +01:00
Raúl Marín
3c5d908bbb
Fix use before check in toDecimalString
2023-11-28 10:09:26 +00:00
Robert Schulze
1448276bae
Merge pull request #55872 from azat/hour-no-leading-zero
...
Add ability to parse hours/months without leading zeros
2023-11-28 11:07:00 +01:00
Raúl Marín
9fb19b5cb4
Merge remote-tracking branch 'blessed/master' into fix_respect_nulls
2023-11-27 19:42:58 +01:00
lgbo
b38469ddf8
Optimization for getting value from map, arrayElement(2/2) ( #55957 )
2023-11-27 15:11:56 +01:00
Robert Schulze
4c236b34f0
Another small cleanup
2023-11-27 11:09:07 +00:00
Raúl Marín
4250c6626c
Move handling of RESPECT NULLS outside of the parser
2023-11-27 11:00:27 +01:00
Robert Schulze
a8671049e1
Various smaller fixups
2023-11-27 08:49:54 +00:00
Azat Khuzhin
315906b380
Add ability to parse hours/months without leading zeros
...
Recently I was looking into one dataset, that has such format.
So I've changed the meaning of the following formatters for
formatDateTime()/parseDateTime(), like in other implementations [1]:
- %l/%k - to handle hours without leading zeros
- %c - handle months without leading zeros
[1]: https://www.php.net/strftime
And since this is kind of behaviour change (even though it is unlikely
will break something), there is a new setting to control this new
behaviour:
- parsedatetime_enable_format_without_leading_zeros=1 (default ON)
- formatdatetime_enable_format_without_leading_zeros=0 (default OFF, since this could change users output)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-26 19:10:17 +01:00
Robert Schulze
5b7d2a903d
Merge pull request #57152 from rschu1ze/fine-granular-plan-opt-settings
...
Fine-granular enablement/disabling of plan-level optimizations
2023-11-25 20:44:23 +01:00
Alexey Milovidov
8877b7ce78
Merge pull request #57198 from ClickHouse/analyzer-fuzz-6
...
Analyzer fuzzer 6 (arrayJoin)
2023-11-25 03:00:48 +01:00
Nikolai Kochetov
0eb20620cd
Fix type for arrayJoin(LC)
2023-11-24 16:42:59 +00:00
Robert Schulze
8e93ea509d
Merge pull request #57002 from slvrtrn/from-days-all-integer-types
...
Allow to use any integer types with `fromDaysSinceYearZero` function
2023-11-24 11:28:53 +01:00
Robert Schulze
77d48e4d55
"optimise" --> "optimize". Sorry, friends from the UK.
2023-11-23 18:41:35 +00:00
Robert Schulze
aee3c9651b
Fix ubsan bug
2023-11-23 18:35:54 +00:00
Julia Kartseva
753b22f64c
Merge pull request #56171 from ClibMouse/dev-seriesPeriodDetect
...
Implemented series period detect method using pocketfft lib
2023-11-22 09:49:58 -08:00
Robert Schulze
f184d69115
Remove equivalent_integer typedef
2023-11-22 14:26:46 +00:00
Alexey Milovidov
d1015aae8e
Merge pull request #57073 from ClickHouse/implement-bit-hamming-distance-for-big-integers
...
Implement `bitHammingDistance` for big integers
2023-11-22 11:56:33 +01:00
Antonio Andelic
8c88dbe5aa
Merge pull request #57033 from ClickHouse/fix-fuzzbits
...
Fix `fuzzBits` with `ARRAY JOIN`
2023-11-22 08:46:28 +01:00
Alexey Milovidov
5cb55d3f8c
Fix style
2023-11-22 01:24:58 +01:00
Alexey Milovidov
de5556b458
Add a test
2023-11-22 00:29:43 +01:00
Alexey Milovidov
8ed04c7645
Merge branch 'master' into implement-bit-hamming-distance-for-big-integers
2023-11-22 00:10:11 +01:00
Alexey Milovidov
fd8714ac29
Implement bitHammingDistance
for big integers
2023-11-21 18:38:00 +01:00
Bhavna Jindal
eb35e61aea
added validateFunctionArgumentTypes
2023-11-21 06:52:48 -08:00
Bhavna Jindal
4767859ba5
added validateFunctionArgumentTypes
2023-11-21 06:52:48 -08:00
Bhavna Jindal
f0d9037e74
Added embeded function documentation
2023-11-21 06:52:48 -08:00
Bhavna Jindal
64292f36f5
fixed getReturnTypeImpl to accept only array argument
2023-11-21 06:52:48 -08:00