Commit Graph

39 Commits

Author SHA1 Message Date
Azat Khuzhin
4e76629aaf Fixes for -Wshorten-64-to-32
- lots of static_cast
- add safe_cast
- types adjustments
  - config
  - IStorage::read/watch
  - ...
- some TODO's (to convert types in future)

P.S. That was quite a journey...

v2: fixes after rebase
v3: fix conflicts after  merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Robert Schulze
42f680849c
Fix bad_cast in Annoy index
- Problem originally found by data type fuzzer
  https://s3.amazonaws.com/clickhouse-test-reports/42180/2f83d8790581dce0ffeec56c137b1d13160cfa7b/fuzzer_astfuzzermsan//report.html

- This commit restricts which data types are allowed for Annoy indexes
  (similar things are done for other index types).
2022-10-19 13:40:39 +00:00
Filatenkov Artur
9a231cf49a
fix out-of-bounds
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2022-08-31 16:28:10 +03:00
FArthur-cmd
941cceda7f fix build 2022-08-30 23:09:22 +00:00
FArthur-cmd
dadc29fb73 add checks for sizes 2022-08-30 15:46:55 +00:00
FArthur-cmd
c7d31c3a90 fix indexes for ColumnArray 2022-08-30 15:32:05 +00:00
FArthur-cmd
e7abc06c89 Revert "Revert "Add Annoy index""
This reverts commit 6fdfb964d0.
2022-08-30 15:26:56 +00:00
Alexander Tokmakov
6fdfb964d0
Revert "Add Annoy index" 2022-08-30 15:10:10 +03:00
FArthur-cmd
05331603f5 fix size 2022-08-18 06:16:18 +00:00
FArthur-cmd
6b5e92e68a change index policy 2022-07-27 15:36:07 +03:00
FArthur-cmd
3b30cd9259 improvements 2022-07-19 00:59:07 +03:00
FArthur-cmd
0e89fbff53 refactoring 2022-07-12 13:57:16 +03:00
FArthur-cmd
783e6e398c merge with other working branch 2022-07-11 23:02:58 +03:00
FArthur-cmd
6ae227a6bb add test 2022-07-11 22:50:10 +03:00
FArthur-cmd
868628d3fd make stable prototype with arrays support 2022-07-11 18:02:50 +03:00
FArthur-cmd
7b7a9521c7 change submodule path 2022-07-10 18:10:47 +03:00
FArthur-cmd
8968ff8995 small inmprovements 2022-07-07 11:33:06 +03:00
FArthur-cmd
c94d6a57ec add arrays 2022-07-06 14:39:49 +03:00
FArthur-cmd
21df8ed12f refactoring 2022-07-04 17:21:50 +03:00
Vladimir Makarov
f809e2a79f fix error 2022-05-16 09:31:37 +00:00
Vladimir Makarov
69e2f8668e fix 2022-05-15 12:29:33 +00:00
Vladimir Makarov
d6512d257f fixes 2022-05-15 08:57:57 +00:00
Vladimir Makarov
e502ab2f55 disable mac os and try to fix sanitizer error 2022-05-15 08:25:46 +00:00
Vladimir Makarov
59e0ef9641 remove extra headers 2022-05-14 18:00:34 +00:00
Vladimir Makarov
1ba0bcaffe fix includes and add docs 2022-05-14 17:53:45 +00:00
Vladimir Makarov
d1880f3c10 fix cmake and style 2022-05-14 10:27:05 +00:00
Vladimir Makarov
316858ee39 fix style 2022-05-14 08:55:07 +00:00
Vladimir Makarov
8f8c622e7c fix 2022-05-14 08:24:54 +00:00
Vladimir Makarov
48222b1fd5 add select params 2022-05-13 20:42:50 +00:00
Vladimir Makarov
5b69e4cc43 add cmake flags 2022-05-13 10:37:04 +00:00
Vladimir Makarov
753d49d62f fix condition and add params 2022-05-12 12:30:18 +00:00
Vladimir Makarov
e8c7278c0d fix condition 2022-05-08 21:24:58 +00:00
Vladimir Makarov
5f37e01339 condition 2022-05-08 19:30:33 +00:00
Vladimir Makarov
f53a3be4a8 add condition 2022-05-04 21:38:11 +00:00
Vladimir Makarov
48545bc390 Revert "part besides reader"
This reverts commit 0914c1bb1e.
2022-04-15 15:45:59 +00:00
Vladimir Makarov
0914c1bb1e part besides reader 2022-04-15 15:43:30 +00:00
Vladimir Makarov
f14b9ec2af Fix Annoy index 2022-04-15 12:08:54 +00:00
Vladimir Makarov
1f4ab6329a Fix annoy 2022-04-02 11:17:09 +00:00
Vladimir Makarov
c2d8498f1a Add first version of annoy-based skip-index 2022-04-01 18:47:48 +00:00