Commit Graph

33 Commits

Author SHA1 Message Date
Nikolay Degterinsky
6242e93c81 Fixes & better tests 2022-10-24 02:11:08 +00:00
Nikolay Degterinsky
c11e4bfbbf Fix build 2022-10-14 15:13:26 +00:00
Nikolay Degterinsky
af1d306b12 Add Interval arithmetics 2022-10-14 02:16:12 +00:00
Nikolay Degterinsky
68abf43767 Better INTERVAL parsing and execution 2022-10-09 00:00:14 +00:00
Li Yin
4088c0a7f3 Automated function registration
Automated register all functions with below naming convention by
iterating through the symbols:
void DB::registerXXX(DB::FunctionFactory &)
2022-07-29 15:39:50 +08:00
Alexander Gololobov
dbcb7e5f1e Fix for empty function name on FreeBSD build 2022-07-25 13:11:36 +02:00
Alexander Gololobov
b2b31103c5 Reuse common code for L2Squared and L2 2022-06-30 14:12:25 +02:00
Julian Gilyadov
d0d72e0b5e
Implement L2Squared Distance and Norm 2022-06-28 15:28:58 -04:00
Alexander Gololobov
9b1b30855c Fixed check for HUGE_VAL 2022-05-27 18:25:11 +02:00
Alexander Gololobov
540353566c Added LpNorm and LpDistance functions for arrays 2022-05-27 17:17:08 +02:00
Alexander Gololobov
168b47d0ad Use same norm and distance function names for tuples and arrays 2022-05-25 22:39:59 +02:00
Alexey Boykov
a429cbe4c9 Style 2021-09-23 16:42:06 +03:00
Alexey Boykov
e0963c7666 Cosine null fix 2021-09-23 15:54:00 +03:00
Alexey Boykov
53d7649c33 Constant p 2021-09-16 15:43:10 +03:00
Alexey Boykov
d63a1fbe40 Add aliases 2021-09-09 18:45:05 +03:00
Alexey Boykov
7da26f8f3b NULL support (check description)
Interesting bug or feature: (1, 2) * NULL is NULL, not tuple of NULLs.
2021-09-09 16:07:51 +03:00
Alexey Boykov
89b672b1e5 Style 2021-09-09 15:41:22 +03:00
Alexey Boykov
96f80797b4 cosineDistance 2021-08-30 17:31:37 +03:00
Alexey Boykov
24de78f6f9 Speed up 2021-08-30 16:55:38 +03:00
Alexey Boykov
072104135a Normalize 2021-08-30 15:52:00 +03:00
Alexey Boykov
46596ffc57 Names, tupleOperatorByNumber 2021-08-27 18:44:04 +03:00
Alexey Boykov
85bb176b53 Reduced copy-paste 2021-08-27 18:02:37 +03:00
Alexey Boykov
8b4c5aa876 Reduced copy-paste 2021-08-27 17:31:11 +03:00
Alexey Boykov
229b227328 Distances, interesting tests 2021-08-27 16:14:32 +03:00
Alexey Boykov
6fbdda6dd0 LpNorm 2021-08-26 21:17:44 +03:00
Alexey Boykov
657a8e13f9 max2, min2, LinfNorm 2021-08-26 15:34:46 +03:00
Alexey Boykov
eb4970bbc4 L2Norm 2021-08-25 18:44:35 +03:00
Alexey Boykov
ace922c8f6 L1Norm 2021-08-25 17:56:31 +03:00
Alexey Boykov
be7def3377 Reduced copy-paste, dotProduct 2021-08-25 17:02:04 +03:00
Alexey Boykov
04222f4e0d Divide, negate, test 2021-08-23 16:41:20 +03:00
Alexey Boykov
ba4da13d5b Style 2021-08-21 00:14:26 +03:00
Alexey Boykov
00cd335006 Compatibility 2021-08-20 19:23:51 +03:00
Alexey Boykov
b3bd6b5b29 Operators, refactoring
Added operators, tupleHammingDistance has been refactored
2021-08-20 17:06:57 +03:00