Commit Graph

6399 Commits

Author SHA1 Message Date
Bhavna Jindal
82d492d85a override executeImplDryRun 2023-12-06 08:38:20 -08:00
Robert Schulze
cfdfde6879
Fix style 2023-12-06 08:34:32 +00:00
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
slvrtrn
e275080f52 Merge remote-tracking branch 'origin' into substr-with-enums 2023-12-05 19:48:10 +01:00
Robert Schulze
f56dd6561f
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-sqid 2023-12-05 18:41:10 +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
Robert Schulze
f1a2b46d60
Incorporate feedback 2023-12-05 12:28:28 +00:00
Robert Schulze
a2cd240317
Revert "Revert "Add sqid() function""
This reverts commit 8d5d0ef38f.
2023-12-05 10:50:30 +00: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
taiyang-li
4bbc0db154 Optimize array element function when input is array(map)/array(array(string))/array(array(number)) 2023-12-05 15:57:43 +08: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
slvrtrn
8eff62a4de Merge remote-tracking branch 'origin' into substr-with-enums 2023-12-01 03:43:48 +01:00
slvrtrn
1751524daf Fix style 2023-12-01 03:34:54 +01: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
Robert Schulze
157555a45b
Some fixups and consistency fixes 2023-11-28 17:28:30 +00: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
slvrtrn
ca0aa935c1 Add Enums support to substring function 2023-11-27 23:56:33 +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
Bhavna Jindal
464cdc4a91 fixed getReturnTypeImpl to accept only array argument 2023-11-21 06:52:48 -08:00
Bhavna Jindal
0843d5e890 added macro to enable/disable pocketfft lib 2023-11-21 06:52:47 -08:00
Bhavna Jindal
90df67a6b1 fix header file issue and added edge case handling 2023-11-21 06:52:47 -08:00
Bhavna Jindal
2c1cf7ed43 fix header file issue and added edge case handling 2023-11-21 06:52:47 -08:00
Bhavna Jindal
56a7fe6c86 fix header file issue and added edge case handling 2023-11-21 06:52:47 -08:00
Bhavna Jindal
ad99cb902f changed method name, updated pocketfft repo reference 2023-11-21 06:52:47 -08:00
Bhavna Jindal
62d69946eb Added testcases, documentation and addressed comments 2023-11-21 06:52:47 -08:00
Bhavna Jindal
3fa104ec11 format file 2023-11-21 06:52:47 -08:00
Bhavna Jindal
c4c12509ee removed commented code and fixed a bug 2023-11-21 06:52:47 -08:00
Bhavna Jindal
2235adcae5 Implemented series periods detect method using pocketfft lib 2023-11-21 06:52:47 -08:00
Antonio Andelic
2ae32d3383
Update src/Functions/getClientHTTPHeader.cpp 2023-11-21 13:12:44 +01:00
凌涛
e86aa433c5
Merge branch 'master' into feature/getHTTPHeader 2023-11-21 19:48:47 +08:00
凌涛
5e581a9fa4 optimize code 2023-11-21 19:47:39 +08:00
Robert Schulze
6851c1dbbc
Suppress bs clang-tidy warning 2023-11-21 11:15:19 +00:00
Antonio Andelic
f996dac75d Fix fuzzBits 2023-11-21 09:43:27 +00:00
凌涛
c5f16725ec add function getClientHTTPHeader 2023-11-21 11:12:01 +08:00
slvrtrn
6d14350886 Allow to use any integer types with fromDaysSinceYearZero 2023-11-20 17:26:31 +01:00
slvrtrn
59c251bf88 Allow to use concat with a single argument 2023-11-20 16:17:31 +01:00
Alexey Milovidov
510ea1106d
Merge pull request #56423 from arthurpassos/56357_quotes_extract_kv
Add transition from reading key to reading quoted key when double quotes are found
2023-11-19 11:26:48 +01:00
Robert Schulze
7a994976e3
Merge pull request #56913 from rschu1ze/trydecodebase64-invalid-input
Fix `tryBase64Decode()` with invalid input
2023-11-18 18:07:13 +01:00
Robert Schulze
4353507724
Merge pull request #56540 from slvrtrn/concat-arbitrary-types
Support arguments of arbitary type in function `concat()`
2023-11-18 17:21:03 +01:00
slvrtrn
d504ad6e99 Merge remote-tracking branch 'origin' into concat-arbitrary-types 2023-11-17 13:45:12 +01:00
Raúl Marín
fc793fe31f
Merge pull request #56120 from kitaisreal/window-functions-decrease-amount-of-virtual-function-calls
WindowTransform decrease amount of virtual function calls
2023-11-17 13:24:38 +01:00
Robert Schulze
b2dc5ada6e
Fix tryDecodeBase64() with invalid input 2023-11-17 11:31:52 +00:00
Alexey Milovidov
482d8ca9d8
Merge pull request #56102 from ClickHouse/coverage
Granular code coverage with introspection
2023-11-16 23:23:40 +01:00
Raúl Marín
a0840d36af Apply the same to arrayReduce 2023-11-16 12:48:27 +01:00
Raúl Marín
e53e723be8 Apply same improvement to initializeAggregation 2023-11-16 12:32:42 +01:00
Raúl Marín
5e087f1633
Merge pull request #56817 from Algunenano/transform_tsan
Fix TSAN report under transform
2023-11-16 11:03:13 +01:00
Raúl Marín
2508e91856 Fix TSAN race in transform 2023-11-15 23:10:25 +01:00
Robert Schulze
e2b25aab0c
Fixups, pt. II 2023-11-15 15:53:38 +00:00
Robert Schulze
0b45e4bfee
Merge remote-tracking branch 'ClickHouse/master' into concat-arbitrary-types 2023-11-15 15:44:36 +00:00
Robert Schulze
f21dd37d18
Some fixups 2023-11-15 15:43:41 +00:00
Antonio Andelic
5c4e58d27d Try fix No user 2023-11-15 15:14:46 +00:00
slvrtrn
20cfe91ff9 Remove unused error codes 2023-11-15 15:21:19 +01:00
slvrtrn
0aaea6e51d Fix ColumnConst serialization issues, more tests 2023-11-15 14:42:38 +01:00
slvrtrn
178d23b951 Concat with arbitrary types + tests 2023-11-15 13:53:52 +01:00
Arthur Passos
89f721b81b
Merge branch 'ClickHouse:master' into 56357_quotes_extract_kv 2023-11-15 09:06:59 -03:00
Raúl Marín
e67edb5488
Merge pull request #56597 from Algunenano/readd_sleep_message
Add "FunctionSleep exception message fix" again
2023-11-14 12:30:12 +01:00
Alexey Milovidov
3ef14f6098 Merge branch 'master' of github.com:ClickHouse/ClickHouse into coverage 2023-11-14 06:08:32 +01:00
Alexey Milovidov
c81cc3f953
Merge pull request #56660 from ClickHouse/better-ccache-2
Better use of build cache
2023-11-13 19:28:33 +01:00
Raúl Marín
6ce1ae36d3 Fix the fix 2023-11-13 10:56:49 +00:00
Alexey Milovidov
82c461031e Fix build 2023-11-13 10:09:23 +01:00
Alexey Milovidov
a044c61c79 Merge branch 'master' of github.com:ClickHouse/ClickHouse into system-symbols 2023-11-13 03:27:37 +01:00
Alexey Milovidov
9ed47749de
Merge pull request #56644 from evillique/fix-cast-nullable-enum-to-string
Fix conversion from `Nullable(Enum)` to `Nullable(String)`
2023-11-13 02:48:34 +01:00
Nikolay Degterinsky
d3ac896131 Fix conversion from Nullable(Enum) to Nullable(String) 2023-11-12 19:02:42 +00:00
Alexey Milovidov
bdb35e1d4c Merge branch 'remove-cpp-templates-2' into system-symbols 2023-11-11 04:26:10 +01:00
Alexey Milovidov
66d297ee47 Fix style 2023-11-11 04:25:49 +01:00
Alexey Milovidov
c94f4266fa Merge branch 'remove-cpp-templates-2' into system-symbols 2023-11-11 04:12:44 +01:00
Alexey Milovidov
58319f08be Merge branch 'master' into system-symbols 2023-11-11 04:12:37 +01:00
Alexey Milovidov
28bf977960 Fix test 2023-11-11 03:59:16 +01:00
Alexey Milovidov
2efe26eee9 Fix error and remove garbage 2023-11-11 03:38:46 +01:00
Alexey Milovidov
a90f3b14e8 Split FunctionsStringArray 2023-11-11 02:21:24 +01:00
Alexey Milovidov
3bec4dce8e Merge branch 'master' into remove-cpp-templates-2 2023-11-11 00:50:32 +01:00
Raúl Marín
72fae1057d Fix ubsan in sleep and add sanity checks 2023-11-10 17:24:41 +00:00
Raúl Marín
78f0a2a61d Revert "Merge pull request #56591 from ClickHouse/revert-56500-function-sleep-exception-message-fix"
This reverts commit e8875d881d, reversing
changes made to a5b1474b6a.
2023-11-10 17:20:17 +00:00
Alexey Milovidov
21a814c20b
Revert "FunctionSleep exception message fix" 2023-11-10 18:53:56 +03:00
Robert Schulze
a5b1474b6a
Merge pull request #56586 from rschu1ze/toUnixTS-docs
Update docs of `fromUnixTimeStamp[InJodaSyntax]()`
2023-11-10 15:21:48 +01:00
Robert Schulze
82f5e92bf5
Update docs of fromUnixTimeStamp[InJodaSyntax]() 2023-11-10 11:11:42 +00:00
Alexey Milovidov
60a9974adc Fix build 2023-11-10 05:34:29 +01:00
Alexey Milovidov
e5df9de12b Merge branch 'remove-cpp-templates-2' into system-symbols 2023-11-10 05:28:45 +01:00
Alexey Milovidov
8c253b9e3e Remove C++ templates 2023-11-10 05:25:02 +01:00
Arthur Passos
401c6cb763
Merge branch 'ClickHouse:master' into 56357_quotes_extract_kv 2023-11-09 14:56:04 -03:00
slvrtrn
124af73f1d Add support of arbitrary types to concat 2023-11-09 17:54:45 +01:00
Maksim Kita
8b4619fd5f FunctionSleep exception message fix 2023-11-09 19:40:37 +03:00
Alexey Milovidov
ad4a96ce0f Fix tidy 2023-11-09 00:22:29 +01:00
Alexey Milovidov
68d3f60ef7 Merge branch 'master' into system-symbols 2023-11-08 17:07:11 +01:00
Robert Schulze
66800a334f
Fix darwin build 2023-11-07 19:44:23 +00:00
Alexey Milovidov
ca83da14f2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into system-symbols 2023-11-07 19:43:19 +01:00
Arthur Passos
28ca29fda2 remove stale comment 2023-11-07 14:31:34 -03:00
Arthur Passos
e4400ec24c add transition from reading key to reading quoted key when double quotes are found 2023-11-07 13:33:02 -03:00
Robert Schulze
fe5dc14ac7
Fix style 2023-11-07 15:27:41 +00:00
Robert Schulze
d8e8abc029
Fix build 2023-11-07 15:26:43 +00:00
Robert Schulze
86b8ebf71c
Merge remote-tracking branch 'rschu1ze/master' into arrayRandomSample-improved 2023-11-07 15:25:29 +00:00
Robert Schulze
3ca00fcdd5
Fix a bug that non-const array inputs would not work
CREATE TABLE tab (col Array(String)) ENGINE = MergeTree ORDER BY col;
INSERT INTO tab VALUES (['a', 'b', 'c']) (['d', 'e']) (['f', 'g', 'h']);
SELECT arrayRandomSample(col, 2) FROM tab;

Previous result:
['a', 'c']
['a', 'c']
['a', 'c']

Now:
['b', 'c']
['e', 'd']
['f', 'h']
2023-11-07 12:26:59 +00:00
Robert Schulze
e09f5961b1
Don't catch exceptions (loses the original stack) 2023-11-07 12:07:17 +00:00
Robert Schulze
7223d49b20
Cosmetics 2023-11-07 12:07:17 +00:00
Robert Schulze
54b5d573d7
Merge remote-tracking branch 'rschu1ze/master' into idatatype-convenience-functions 2023-11-07 10:18:30 +00:00
Robert Schulze
e22c673299
Revert "Revert "Add function arrayRandomSample()""
This reverts commit e47e50e30d.
2023-11-07 10:16:13 +00:00
Alexey Milovidov
e47e50e30d
Revert "Add function arrayRandomSample()" 2023-11-07 02:49:11 +03:00
Alexey Milovidov
d01108a2b2 Fix tidy 2023-11-06 23:34:21 +01:00
Robert Schulze
8846cc6770
Merge pull request #56327 from rschu1ze/parseQueryOrNull
Improve `formatQuery()`
2023-11-06 22:48:16 +01:00
Alexey Milovidov
145c37f342 Fix tidy 2023-11-06 16:28:05 +01:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions 2023-11-06 13:25:32 +00:00
vdimir
3b775dee53
Merge pull request #55126 from ClickHouse/vdimir/jaccard_index_perf
Add function jaccardIndex back with better performance
2023-11-06 10:39:02 +01:00
Robert Schulze
0ecbe54708
Ensure sufficient size in exceptionn case 2023-11-06 08:55:09 +00:00
Alexey Milovidov
c0e058178c Fix error 2023-11-06 05:43:55 +01:00
Alexey Milovidov
1f058d6370 Fix style 2023-11-06 04:57:13 +01:00
Alexey Milovidov
0f9e7594e9 Remove useless header files 2023-11-06 04:09:28 +01:00
Alexey Milovidov
184e6f840e Remove useless header files 2023-11-06 03:49:55 +01:00
Alexey Milovidov
a710ac6011 This is actually better 2023-11-06 03:00:03 +01:00
Alexey Milovidov
e85c695bcf This is actually better 2023-11-06 02:57:26 +01:00
Alexey Milovidov
46af71ab7c This is actually better 2023-11-06 02:36:09 +01:00
Alexey Milovidov
2d1351c3a6 Remove useless header 2023-11-06 01:34:06 +01:00
Alexey Milovidov
995e8a91e5 Remove fat symbols 2023-11-06 01:12:29 +01:00
Robert Schulze
8a64066ee1
+ formatQueryOrNull() 2023-11-05 20:24:23 +00:00
Robert Schulze
38e9793cd7
Fix junk in formatQuery() 2023-11-05 20:13:49 +00:00
Robert Schulze
60fa1c3d26
Cosmetics 2023-11-05 20:08:09 +00:00
Alexey Milovidov
cd94d02455 Merge branch 'master' into coverage 2023-11-04 21:49:59 +01:00
Robert Schulze
480e284db1
Merge pull request #56088 from jh0x/feature-from-days-zero
Add function `fromDaysSinceYearZero()`
2023-11-04 00:17:04 +01:00
Robert Schulze
a43647b4e0
Fix FastTest 2023-11-03 10:53:25 +00:00
Robert Schulze
ff353616bc
Fix style 2023-11-03 10:50:06 +00:00
Robert Schulze
341b17ba80
Remove more dead code 2023-11-02 21:44:47 +00:00
Robert Schulze
910477b1bd
Add FROM_DAYS() alias 2023-11-02 21:43:17 +00:00
Robert Schulze
0b587d3cea
Remove overflow setting
Reason 1:
- https://github.com/ClickHouse/ClickHouse/pull/55696#issuecomment-1774130793
  Basically: Setting `date_time_overflow_behavior` applies only to
  conversions between Date <-> Date32 <-> DateTime <-> DateTime64 but
  it does not control the behavior of functions.

Reason 2:
- It's overkill (even if well-intented overkill). ClickHouse generally
  has a garbage in - garbate out philosophy, so that should be the
  default behavior which corresponds to behavior "ignore". Moreover,
  function 'fromDaysSinceYearZero()' mostly exists for compatibility /
  parity with MySQL and MySQL takes the same stance.
2023-11-02 21:43:17 +00:00
Robert Schulze
92f0c7e522
Move DAYS_BETWEEN_YEARS_0_AND_1970 back to indicate the relation to ToDaysSinceYearZero 2023-11-02 20:58:53 +00:00
Robert Schulze
c6f826d929
Uppercase constants 2023-11-02 20:56:01 +00:00
Robert Schulze
4ccdad50c1
Remove a few unnecessary function implementations 2023-11-02 20:56:01 +00:00
Robert Schulze
dee8775c6a
Use FunctionArgumentDescriptors in getReturnTypeImpl() 2023-11-02 20:56:01 +00:00
Alexey Milovidov
b0bd052f8d
Merge pull request #55837 from ClibMouse/feature/big-endian-ip-aggregate-function-states
Correct aggregate functions ser/deserialization to be endianness-independent.
2023-11-02 14:50:26 +01:00
Joanna Hulboj
3a85f79fcb More fixes after CI, negatives check 2023-11-02 13:19:18 +00:00
vdimir
bda15d174a
Add stringJaccardIndexUTF8 2023-11-02 11:38:11 +00:00
vdimir
14ba4696f9
Rename jaccardIndex -> stringJaccardIndex, upd doc 2023-11-02 11:37:50 +00:00
vdimir
a5c98638fe
Add function jaccardIndex back with better perf 2023-11-02 11:37:49 +00:00
Dorota Szeremeta
a702240783
Fixed spelling of "Continous" to "Continuous" (#56143) 2023-11-01 14:58:03 +01:00
Joanna Hulboj
e5b4d7fac7 Fix failing checks 2023-10-31 21:00:11 +00:00
Joanna Hulboj
4d76c22a0d Flesh out logic for fromDaysSinceYearZero and tests 2023-10-31 21:00:11 +00:00
Joanna Hulboj
087cf431a7 Stub of function fromDaysSinceYearZero 2023-10-31 21:00:11 +00:00
kothiga
f570b85e25
Disambiguate crc32 from crc32c for s390x impl. 2023-10-31 11:21:37 -07:00
Robert Schulze
13b2946ae2
Merge pull request #55960 from rschu1ze/adddate-stringargs
Support string-encoded date arguments in `addDate()`
2023-10-31 15:37:34 +01:00
Alexey Milovidov
0d01548aca
Merge pull request #56112 from ClickHouse/maybe-smaller-binary
Maybe smaller binary
2023-10-31 01:56:01 +01:00
Nikolay Degterinsky
58b188e880
Forbid implicit cast of numbers to intervals with the string argument 2023-10-30 18:03:35 +01:00
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
Alexey Milovidov
0de51d2b0f Maybe smaller binary 2023-10-30 03:23:22 +01:00
Alexey Milovidov
aaca32f6a7 Add function coverageAll 2023-10-30 03:22:49 +01:00
Alexey Milovidov
ccf5003442 Maybe smaller binary 2023-10-30 03:20:04 +01:00
Alexey Milovidov
6eff22568f
Revert "Add function getHttpHeader" 2023-10-29 19:50:39 +03:00
Alexey Milovidov
70e3dd808c Granular code coverage with introspection 2023-10-29 02:07:24 +01:00
Alexey Milovidov
e8e96ea77a Throw an error when comparing time intervals with different units 2023-10-27 23:24:55 +02:00
Robert Schulze
a68e8be08f
Merge pull request #55696 from zvonand/zvonand-datetime-ranges
Introduce setting `date_time_overflow_behavior` to control the overflow behavior when converting to `Date` / `Date32` / `DateTime` / `DateTime64`
2023-10-27 10:40:20 +02:00
Robert Schulze
5801b06529
Merge pull request #55983 from rschu1ze/snowflake-scale
Fix dateTime64ToSnowflake64() with non-default scale
2023-10-27 10:22:35 +02:00
lgbo
489e6d9bdc
Optimization for getting value from map, arrayElement(1/2) (#55929) 2023-10-27 09:54:25 +02:00
Andrey Zvonov
2da12ec291
Update FunctionsConversion.h 2023-10-27 01:13:52 +02:00
zvonand
35baf7792d cleanup after rebase, add [[unlikely]] 2023-10-26 23:56:45 +02:00
Robert Schulze
325ff33c3a
Merge pull request #55239 from aiven-sal/aiven-sal/format_query
Add formatQuery function
2023-10-26 22:46:01 +02:00
Andrey Zvonov
71287788d1
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 14:14:32 +02:00
Anton Popov
9e64f51ffa
Merge pull request #56020 from CurtizJ/minor-style-fixes
Correct the implementation of function `jsonMergePatch`
2023-10-26 13:26:55 +02:00
Salvatore Mesoraca
56bd61d207
Rename formatQueryOneLine -> formatQuerySingleLine 2023-10-26 13:09:20 +02:00
Salvatore Mesoraca
21e0c510c8
formatQuery: improve doc 2023-10-26 13:08:11 +02:00
Andrey Zvonov
6fccd55d30
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 10:49:38 +02:00