Commit Graph

869 Commits

Author SHA1 Message Date
Mike Kot
9920a52c51 use std::lerp, constexpr hex.h 2023-03-07 22:50:17 +00:00
Sema Checherinda
8292ffb81e
Merge pull request #47121 from liding1992/master
Fix the problem that the 'ReplicatedMergeTree' table failed to insert two similar data when the 'part_type' is configured as 'InMemory' mode.
2023-03-06 16:13:24 +01:00
liding1992
ea8ae193d3 Fix the problem that the 'ReplicatedMergeTree' table failed to insert two similar data when the 'part_type' is configured as 'InMemory' mode. 2023-03-04 09:16:29 +08:00
Anton Popov
caa1d22759
Merge branch 'master' into fix-issues-with-sparse 2023-02-27 15:25:19 +01:00
Alexey Milovidov
a712fc6435 Fix wrong function name 2023-02-25 00:27:54 +01:00
Anton Popov
d926713cf5 Merge remote-tracking branch 'upstream/master' into HEAD 2023-02-23 23:04:22 +00:00
Anton Popov
4f8da66bb5 fix unit test with sparse columns 2023-02-21 18:25:10 +00:00
Kruglov Pavel
ef0d6becba
Merge branch 'master' into null-as-default-all-formats 2023-02-21 16:52:39 +01:00
Kruglov Pavel
b0424c1021
Merge pull request #46171 from Avogar/insert-null-as-default
Use default of column type in `insert_null_as_default` if column DEFAULT values is not specified
2023-02-20 21:45:02 +01:00
Kruglov Pavel
9866ecfe8b
Merge branch 'master' into null-as-default-all-formats 2023-02-20 20:49:30 +01:00
Alexey Milovidov
d8cda3dbb8 Remove PVS-Studio 2023-02-19 23:30:05 +01:00
Anton Popov
046e2bb8ea fix issues with sparse columns 2023-02-17 16:56:23 +00:00
Anton Popov
c24d68e7c9 fix tests with sparse columns 2023-02-16 21:54:43 +00:00
Anton Popov
3730ea388f fix issues with sparse columns 2023-02-15 21:46:26 +00:00
Anton Popov
4af836a592 Merge remote-tracking branch 'upstream/master' into HEAD 2023-02-14 18:42:03 +00:00
Kruglov Pavel
d5f413304d
Store null map size into a variable 2023-02-13 13:28:09 +01:00
avogar
d1efd02480 Extend setting input_format_null_as_default for more formats 2023-02-10 16:41:09 +00:00
Anton Popov
94407682b4 fix function with sparse columns arguments 2023-02-09 18:07:27 +00:00
avogar
c3e8dd8984 Fix low cardinality case 2023-02-08 19:14:28 +00:00
Zhiguo Zhou
b43ffb98e8
Vectorize filter generation of ColumnNullable in FilterDescription (#45962)
This commit achieved the data parallelism for filter generations of
the nullable columns by replacing the logical AND operator with the
bitwise one, which could be auto-vectorized by the compiler.
2023-02-07 16:33:01 +01:00
taiyang-li
fd05d3516c improve performance of ColumnArray::replicate for big int and decimal 2023-02-02 17:21:41 +08:00
taiyang-li
52d5428d0a improve performance of ColumnArray::filter 2023-02-02 15:42:58 +08:00
Alexey Milovidov
9b1b247f9b
Merge pull request #45585 from kitaisreal/low-cardinality-insert-fix
LowCardinality insert fix
2023-01-28 03:26:40 +03:00
Maksim Kita
32b4bbf26c LowCardinality insert fix 2023-01-24 21:16:17 +01:00
Alexander Tokmakov
dd57215934 Merge branch 'master' into exception_message_patterns4 2023-01-24 17:03:12 +01:00
Kseniia Sumarokova
dd18dd2953
Merge pull request #45341 from ClibMouse/feature/non-throwing-hastoken
Introduce non-throwing variants of hasToken
2023-01-24 15:37:36 +01:00
Alexander Tokmakov
6ecae8388e Merge branch 'master' into exception_message_patterns4 2023-01-24 14:42:36 +01:00
ltrk2
9710b8643c Refine the solution 2023-01-23 14:27:48 -08:00
Nikita Taranov
95d17d59fb
impl (#45289) 2023-01-23 22:55:52 +01:00
Alexander Tokmakov
3f6594f4c6 forbid old ctor of Exception 2023-01-23 22:18:05 +01: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
Han Fei
6ed4570f73
Merge branch 'master' into regexp-tree-dictionary 2023-01-10 15:36:30 +01:00
Alexey Milovidov
e855d3519a
Merge branch 'master' into refactoring-ip-types 2023-01-02 21:58:53 +03:00
Han Fei
c25207fc21
Merge branch 'master' into regexp-tree-dictionary 2022-12-30 17:31:44 +01:00
Han Fei
efa963fb0e support regex tree dictionary 2022-12-22 22:42:11 +01:00
Yakov Olkhovskiy
0641066183
Merge branch 'master' into refactoring-ip-types 2022-12-08 11:12:05 -05:00
Dmitry Novik
15b8c48ca9 Cleanup code 2022-12-02 19:15:26 +00:00
Dmitry Novik
2c70dbc76a Refactor FunctionNode 2022-12-02 19:15:26 +00:00
Kruglov Pavel
3a0cf5bf5b
Merge pull request #43311 from Avogar/proper-fix-lc-with-if
Fix bad cast from LowCardinality column when using short circuit function execution
2022-11-30 16:06:43 +01:00
Yakov Olkhovskiy
77266ea754 cleanup 2022-11-29 17:34:16 +00:00
Yakov Olkhovskiy
b47cb522b5 revert StrongTypedef and fix test instead 2022-11-28 23:33:47 +00:00
Yakov Olkhovskiy
770b520ded
Merge branch 'master' into refactoring-ip-types 2022-11-28 08:50:19 -05:00
Azat Khuzhin
eea32a3beb
Make insertRangeFrom() more exception safe (#43338)
* Make ColumnArray::insertRangeFrom() more safe

This should avoid possible out of sync and LOGICAL_ERROR exception
'offsets_column has data inconsistent with nested_column.'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Make ColumnString::insertRangeFrom() more exception safe

Otherwise it is possible for offsets and chars go out of sync and
eventually you will get LOGICAL_ERROR exception
'String offsets has data inconsistent with chars array'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-23 23:41:14 +01:00
Kruglov Pavel
975a59af7a
Fix build 2022-11-21 13:51:17 +01:00
Anton Popov
c67f5e2600
Update gtest_column_dump_structure.cpp 2022-11-17 04:40:09 +01:00
avogar
69d4381a3e Add comments 2022-11-16 22:42:50 +00:00
avogar
e98ac04678 Fix bad cast from LowCardinality column when using short circuit function execution 2022-11-16 22:34:24 +00:00
Anton Popov
bc19d35009 fix clang-tidy 2022-11-16 15:34:36 +00:00
Anton Popov
11c28abbed fix race in IColumn::dumpStructure 2022-11-16 00:57:22 +00:00
Yakov Olkhovskiy
9aeebf3bdf
Merge branch 'master' into refactoring-ip-types 2022-11-14 09:21:54 -05:00