Commit Graph

117 Commits

Author SHA1 Message Date
feng lv
53fde56cb7 rewrite bitHammingDistance with FunctionBinaryArithmetic
fix

fix typo
2022-01-19 09:07:05 +00:00
feng lv
655cf6c315 fix 2022-01-11 12:27:21 +00:00
feng lv
8346057be6 fix 2022-01-10 03:05:45 +00:00
feng lv
b06211fb03 fix
fix
2022-01-09 16:32:31 +00:00
feng lv
442a183ec2 fix
fix
2022-01-08 14:17:53 +00:00
feng lv
48c0b41ad5 Enable binary arithmetic between Decimal and Float
fix
2022-01-01 09:11:21 +00:00
feng lv
6734b592bb decimal plus float 2021-12-26 09:04:12 +00:00
Alexey Milovidov
85cec911be Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
Alexey Milovidov
8b4a6a2416 Remove cruft 2021-10-28 02:10:39 +03:00
Anton Popov
4bc14dedfb
Merge pull request #28352 from Avogar/div-null
Avoid division by zero when denominator is Nullable
2021-10-07 14:47:53 +03:00
avogar
568e27e9b3 Fix tests 2021-10-07 00:19:37 +03:00
avogar
5e4cda02b6 Fix build 2021-10-06 13:38:22 +03:00
Kruglov Pavel
fa81606d6a
Fix build 2021-10-05 20:11:21 +03:00
Mike Kot
25a62b9f83 Renaming TL to Typelist 2021-10-05 17:22:02 +02:00
avogar
c2cb9e2721 Fix use of unititialized value 2021-10-05 11:55:26 +03:00
avogar
2523053b27 Remove code duplication, fix bug, add more tests 2021-10-04 18:22:06 +03:00
Pavel Kruglov
ae2754ee56 Fix tests, add comments 2021-10-04 16:44:38 +03:00
Pavel Kruglov
2c4453f425 Rename template argument 2021-10-04 16:44:38 +03:00
Pavel Kruglov
82d17870f1 Avoid division by zero when denominator is Nullable 2021-10-04 16:44:38 +03:00
Mike Kot
8c8bada56e Non-recursive implementation for TL and its functions 2021-10-03 18:02:04 +02:00
Alexey Milovidov
fe6b7c77c7 Rename "common" to "base" 2021-10-02 10:13:14 +03:00
Alexey Boykov
1215c25bd7
Merge branch 'master' into numeric_tuple_functions 2021-09-16 15:46:18 +03:00
小路
9416c5e74d
Remove outdated comment. 2021-09-14 11:22:34 +08:00
Anton Popov
2b49f42bca
fix build 2021-09-13 20:37:35 +03:00
Anton Popov
671f98506a
fix build 2021-09-13 20:34:36 +03:00
Anton Popov
7ec5c73c9b
Merge branch 'master' into issues_27763 2021-09-13 20:33:29 +03:00
Mike Kot
1f6fb3f6ea Fix gtest, add Decimal aliases, Typelist solution for bin arithm 2021-09-12 14:26:07 +02:00
Mike Kot
3401b32e37 Adapted usage of is_decimal concept 2021-09-11 19:35:12 +02:00
Mike Kot
bce011cb33 Replacing IsDecimalNumber 2021-09-11 00:40:18 +02:00
Alexey Boykov
89b672b1e5 Style 2021-09-09 15:41:22 +03:00
zhangxiao871
0b6ab61633 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2021-09-07 01:22:02 +08:00
Mike Kot
8e9aacadd1 Initial: replacing hardcoded toString for enums with magic_enum 2021-09-06 16:24:03 +02:00
zhangxiao871
8c30f09a00 Fix PVS check. 2021-09-05 22:08:24 +08:00
zhangxiao871
e73719ab80 Fix FixedString type ConstConst. 2021-09-05 13:21:06 +08:00
zhangxiao871
6d5605e1ee Better support FixedString type and add test case. 2021-09-05 00:41:52 +08:00
Alexey Boykov
65804040e4 operators 2021-08-30 19:10:27 +03:00
zhangxiao871
a573f28ecb Try fix USE_EMBEDDED_COMPILER error. 2021-08-30 17:59:32 +08:00
zhangxiao871
3b39b82fb7 Bit shift operations for FixedString and String data types. 2021-08-30 15:48:59 +08:00
Amos Bird
4624bf70b0
Always monotonic for non-zero division 2021-08-28 23:33:18 +08:00
Alexey Boykov
91199dc73a Changed operator, fix clarity of test 2021-08-27 20:05:33 +03:00
Alexey Boykov
ba4da13d5b Style 2021-08-21 00:14:26 +03:00
Alexey Boykov
9a8cdeec29 Deleting cerr 2021-08-20 20:52:27 +03:00
Alexey Boykov
efff19e996
Merge branch 'master' into numeric_tuple_functions 2021-08-20 18:03:14 +03:00
Alexey Boykov
b3bd6b5b29 Operators, refactoring
Added operators, tupleHammingDistance has been refactored
2021-08-20 17:06:57 +03:00
Pavel Kruglov
bc853d250f Set function divide as suitable for short-circuit in case of Nullable(Decimal) 2021-08-17 16:24:28 +03:00
Pavel Kruglov
36bea6abb4 Add setting optimize_short_circuit_function_evaluation 2021-08-13 14:48:32 +03:00
Pavel Kruglov
70b51133c1 Try to simplify code 2021-08-09 18:01:08 +03:00
Pavel Kruglov
6da03935af Clean up 2021-08-09 17:57:49 +03:00
Pavel Kruglov
a95d45a157 Some clean up 2021-08-09 17:57:02 +03:00
Pavel Kruglov
3ec2ab6156 Avoid using expand, fix bugs, add tests and comments 2021-08-09 17:54:49 +03:00