Commit Graph

117 Commits

Author SHA1 Message Date
Nikolai Kochetov
ef8dab52c6
Merge pull request #57767 from jsc0218/DictShortCircuit
Dict Short Circuit
2024-02-26 15:16:15 +01:00
Nikolai Kochetov
365530c463 Fix 01656_test_query_log_factories_info with analyzer. 2024-02-15 17:12:22 +00:00
jsc0218
c2b2a7f903
Merge branch 'ClickHouse:master' into DictShortCircuit 2024-02-12 12:48:08 -05:00
Raúl Marín
25738c8313 Remove no longer needed specialization 2024-02-06 20:34:12 +01:00
taiyang-li
b4972bf5fb revert files 2024-02-04 16:59:26 +08:00
jsc0218
4ce770aebf Merge remote-tracking branch 'origin/master' into DictShortCircuit 2024-02-01 15:29:27 +00:00
taiyang-li
1d8de1d345 fix style 2024-02-01 19:39:22 +08:00
taiyang-li
d9820f9704 change as request 2024-02-01 11:13:26 +08:00
taiyang-li
ddc6aad8ff merge master 2024-02-01 10:58:33 +08:00
Raúl Marín
f67bff12b7
Merge pull request #59148 from bigo-sg/improve_if_with_floating
Continue optimizing branch miss of if function when result type is float*/decimal*/int*
2024-01-31 12:42:06 +01:00
taiyang-li
dc7b9d8208 fix conflicts 2024-01-31 17:37:37 +08:00
taiyang-li
2ad7607bad opt if when input type is map 2024-01-31 17:33:47 +08:00
taiyang-li
818fb9802a change as request 2024-01-31 11:48:02 +08:00
jsc0218
8583192948 refactior short circuit setting 2024-01-30 21:26:43 +00:00
taiyang-li
29b3cf60a6 fix perf regression 2024-01-26 16:45:09 +08:00
taiyang-li
626e30609a change as request 2024-01-26 10:43:27 +08:00
avogar
4b26de9660 Rename setting to use it not only in if/multiIf in future 2024-01-25 13:26:13 +00:00
taiyang-li
aca8e90ec9 optimize when if condition is constant 2024-01-25 20:09:26 +08:00
taiyang-li
e8629cf4f5 add another perf and tests 2024-01-25 18:02:55 +08:00
taiyang-li
2418798e3c fix code style 2024-01-24 20:02:07 +08:00
taiyang-li
4e337f8317 add perf tests 2024-01-24 20:00:26 +08:00
taiyang-li
eae7878609 fix style 2024-01-24 19:53:50 +08:00
taiyang-li
393cab820e add some comment 2024-01-24 18:48:29 +08:00
taiyang-li
622a0f65b3 optimize for float 2024-01-24 18:46:06 +08:00
taiyang-li
aed8ffe3d8 optimize for decimal 2024-01-24 16:30:37 +08:00
avogar
9e639df12e Add fixes, add new mode to getLeastSupertype and use it in if/multiIf 2024-01-11 18:44:05 +00:00
Kruglov Pavel
4d8cf71ba7
Merge branch 'master' into variant-data-type 2024-01-03 15:21:23 +01:00
avogar
f594ab34f5 Fix special build 2023-12-23 12:56:11 +00:00
zhanglistar
f0a51e5be5 Modify comments and merge master. 2023-12-21 09:55:26 +08:00
zhanglistar
810305fafe Fix if.xml. 2023-12-20 10:58:46 +08:00
avogar
319ae440b6 Implement Variant data type 2023-12-19 16:45:15 +00:00
zhanglistar
59b049ce08 function if branch free fix tests. 2023-12-19 16:40:13 +08:00
zhanglistar
b252b7182c Function if performance improvment fix bug. 2023-12-19 12:09:00 +08:00
zhanglistar
aaf6564711 if performance code format 2023-12-18 16:47:25 +08:00
zhanglistar
ba34b80087 If improvement add comment and performance test. 2023-12-18 16:43:45 +08:00
zhanglistar
028cd8955b function if trival opt. 2023-12-15 15:19:05 +08:00
avogar
d5de17f6aa Fix bad cast to ColumnVector<Int128> in function if 2023-09-26 12:19:25 +00:00
avogar
2e8ac2bdf9 Fix function if 2023-09-15 12:53:50 +00:00
Maksim Kita
c860db0fb7 Fixed tests 2023-06-05 10:32:46 +03:00
Maksim Kita
46cbdeeb7e Fixed tests 2023-06-04 15:02:46 +03:00
Maksim Kita
7a7e03a2ff Function if constant folding 2023-06-03 14:16:59 +03:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
avogar
a7129332af Don't execute and/or/if/multiIf on LowCardinality dictionary 2022-12-20 22:07:59 +00:00
avogar
47959d6a70 Allow arguments with type Nothing in functions if/multiIf 2022-11-18 14:56:06 +00:00
avogar
5ec748c664 Fix function if in case of NULL and const Nullable arguments 2022-11-11 14:49:49 +00:00
Alexey Milovidov
6139cc8f7a Add Documentation to FunctionFactory 2022-08-27 22:06:57 +02: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
avogar
23f48a9fb9 Fix bug with nested short-circuit functions 2022-06-17 11:44:49 +00:00
Alexey Milovidov
294efeccfe Fix clang-tidy-14 (part 1) 2022-04-16 04:54:04 +02:00
avogar
0f69baa231 Fix bug in function if that led to logical error 2022-03-21 14:27:25 +00:00