milvus/internal/parser/planparserv2/generated
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
..
plan_base_visitor.go feat: Implement custom function module in milvus expr (#36560) 2024-10-25 15:25:30 +08:00
plan_lexer.go enhance: Update antlr version and refine parsing not in (#36745) 2024-10-11 14:03:21 +08:00
plan_parser.go feat: Implement custom function module in milvus expr (#36560) 2024-10-25 15:25:30 +08:00
plan_visitor.go feat: Implement custom function module in milvus expr (#36560) 2024-10-25 15:25:30 +08:00
Plan.interp feat: Implement custom function module in milvus expr (#36560) 2024-10-25 15:25:30 +08:00
Plan.tokens enhance: Update antlr version and refine parsing not in (#36745) 2024-10-11 14:03:21 +08:00
PlanLexer.interp enhance: Update antlr version and refine parsing not in (#36745) 2024-10-11 14:03:21 +08:00
PlanLexer.tokens enhance: Update antlr version and refine parsing not in (#36745) 2024-10-11 14:03:21 +08:00