Commit Graph

481 Commits

Author SHA1 Message Date
Yinzuo Jiang
3628593d20
feat: Implement custom function module in milvus expr (#36560)
OSPP 2024 project:
https://summer-ospp.ac.cn/org/prodetail/247410235?list=org&navpage=org

Solutions:

- parser (planparserv2)
    - add CallExpr in planparserv2/Plan.g4
    - update parser_visitor and show_visitor
- grpc protobuf
    - add CallExpr in plan.proto
- execution (`core/src/exec`)
- add `CallExpr` `ValueExpr` and `ColumnExpr` (both logical and
physical) for function call and function parameters
- function factory (`core/src/exec/expression/function`)
    - create a global hashmap when starting milvus (see server.go)
- the global hashmap stores function signatures and their function
pointers, the CallExpr in execution engine can get the function pointer
by function signature.
- custom functions
    - empty(string)
    - starts_with(string, string)
- add cpp/go unittests and E2E tests

closes: #36559

Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
2024-10-25 15:25:30 +08:00
Yinzuo Jiang
7d74edd6dd
fix: update clang-tidy and clang-format from 10 to 12 (#33141)
Default llvm toolchain version in Ubuntu 20.04 is 10, while Ubuntu 22.04
does not have `clang-tidy-10` or `clang-format-10` by default.

issue: #33142

Signed-off-by: Patrick Weizhi Xu <weizhi.xu@zilliz.com>
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
2024-06-13 15:27:58 +08:00
shaoting-huang
ca0cf9b3b1
doc: fix typos in design docs (#32885)
Signed-off-by: shaoting-huang <shaoting.huang@zilliz.com>
2024-05-09 15:43:30 +08:00
Sheldon
351c64b606
fix some typos (#27851)
1. fix some typos in md,yaml #22893

Signed-off-by: Sheldon <chuanfeng.liu@zilliz.com>
2023-10-24 09:30:10 +08:00
congqixia
e02670eae9
[Design Doc] Remove runtime dependency of datacoord from datanode (#27183)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-26 14:05:26 +08:00
congqixia
baddf3d438
Add design doc for collection-level auto compaction switch (#24041)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-05-11 15:57:20 +08:00
smellthemoon
2afc982ce1
[MEP]Default Value (#23343)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-04-20 10:56:31 +08:00
congqixia
aca442e985
[DOC] Add QueryNodev2 design doc (#23478)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-04-18 11:44:30 +08:00
yah01
c855ea3171
MEP for search by primary keys (#23193)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-04-07 18:26:29 +08:00
Enwei Jiao
940ead200a
Update Development.md (#23207)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-04-04 13:38:28 +08:00
Enwei Jiao
66f50fd354
Add design doc for dynamic config (#23115)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-30 08:48:21 +08:00
Enwei Jiao
d2f95176e9
Organize design document directory (#22972)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-24 15:33:59 +08:00
jaime
d126f06946
Decouple mq module from internal proto definition (#22536)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-03-04 23:21:50 +08:00
jaime
58b79eb74c
Add based on timetravel GC for snapshot KV (#21417)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-01-04 21:37:35 +08:00
zhuwenxing
3b1030de2b
[skip e2e]Fix bad link in doc (#15525)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2022-02-11 09:31:47 +08:00
min.tian
2b1625819d
[skip e2e] Check the grammar of segcore/timetravel.md (#15182)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-02-09 10:23:47 +08:00
min.tian
a0a88f1b48
[skip e2e] Check the grammar of segment_interface.md (#15174)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-02-09 10:21:52 +08:00
min.tian
06535eb7eb
[skip e2e] Check the grammar of segment_growing.md (#15134)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-02-09 10:16:10 +08:00
Xieql
17887de140
[skip e2e] Improve annotation (#15071)
Signed-off-by: Xieql <qianglong.xie@zilliz.com>
2022-01-10 13:26:24 +08:00
Bennu
513626c69d
[skip e2e] Fix grammar (#15066)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-10 13:20:40 +08:00
Bennu
0a0cf9bf94
[skip e2e] Fix grammar (#15065)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-10 13:18:42 +08:00
Bennu
65ea6b9172
[skip e2e] Fix grammar (#15064)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-10 13:16:48 +08:00
min.tian
0c621fa314
[skip e2e] Check the grammar of segcore/Search.md (#15047)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-01-10 09:47:36 +08:00
Bennu
a1c29d4709
[skip e2e] Fix grammar (#15010)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-07 19:03:49 +08:00
Bennu
3aaf65efa9
[skip e2e] Fix grammar (#15009)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-07 19:01:56 +08:00
Bennu
56eb069494
[skip e2e] Fix grammar (#15011)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-07 18:53:49 +08:00
min.tian
c666645629
[skip e2e] Check the syntax of index design doc (#14973)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-01-07 13:16:22 +08:00
Bennu
b2da0c67f4
[skip e2e] Fix grammar (#14940)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-06 18:25:26 +08:00
Bennu
1db9b1b04d
[skip e2e] Fix grammar (#14939)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-06 18:23:33 +08:00
Bennu
de676985f9
[skip e2e] Fix grammar (#14938)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-06 18:21:41 +08:00
min.tian
a40c5224bd
[skip e2e] Check the syntax of mep-template md (#14890)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-01-06 13:15:56 +08:00
groot
7670bcec36
[skip e2e] Fix typo for design doc (#14920)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-01-06 10:57:20 +08:00
groot
3db94a7d0c
[skip e2e] Fix typo for design doc (#14919)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-01-06 10:55:26 +08:00
groot
ab4efd1d3b
[skip e2e] Fix typo for design doc (#14917)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-01-06 10:53:30 +08:00
yanliang567
545bffa763
[skip e2e]Fix a grammar issue (#14846)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2022-01-05 14:35:19 +08:00
Bennu
b6ad963eb2
[skip e2e] Fix grammar (#14832)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-05 13:23:19 +08:00
Bennu
19e0b5099f
[skip e2e] Fix grammar (#14831)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-05 13:21:24 +08:00
Bennu
08fd1ae227
[skip e2e] Fix grammar (#14830)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-05 13:19:31 +08:00
min.tian
bdd32e57e4
[skip e2e] Check the syntax of query_boolean_expr doc (#14798)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-01-05 09:49:24 +08:00
Xieql
ee853ff7db
[skip e2e] Improve annotation (#14711)
Signed-off-by: Xieql <qianglong.xie@zilliz.com>
2022-01-04 19:57:34 +08:00
yanliang567
cc419c83c9
[skip e2e]Update milvus component name (#14685)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2022-01-04 19:31:35 +08:00
min.tian
f029a4f863
[skip e2e] Check the syntax of query_boolean_expr md (#14708)
Signed-off-by: min.tian <min.tian.cn@gmail.com>
2022-01-04 19:11:46 +08:00
Bennu
251d24c10d
[skip e2e] Fix grammar (#14756)
Signed-off-by: Bennu <yunmei.li@zilliz.com>

[skip e2e] Fix grammar

Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-04 14:21:28 +08:00
Bennu
d844bbc592
[skip e2e] Fix grammar (#14755)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-04 14:19:32 +08:00
Bennu
57e8c1d4c0
[skip e2e] Fix grammar (#14754)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2022-01-04 14:17:36 +08:00
groot
e7c1f57f35
[skip e2e] Fix typo for design doc (#14742)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-01-04 14:00:18 +08:00
groot
c3f24e8d92
[skip e2e] Fix typo for design doc (#14741)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-01-04 13:58:19 +08:00
groot
369b26e85b
[skip e2e] Fix typo for design doc (#14740)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-01-04 13:55:59 +08:00
Bennu
fbee31ac59
[skip e2e] Fix grammar (#14664)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2021-12-31 14:22:01 +08:00
Bennu
ac3a35b126
[skip e2e] Fix grammar (#14662)
Signed-off-by: Bennu <yunmei.li@zilliz.com>
2021-12-31 14:20:03 +08:00