Skip to content

[UDAF] Vectorization support remote udaf function  #10683

Closed

Description

@chenlinzhong

Search before asking

  • I had searched in the issues and found no similar issues.

Description

1.vectorization support remote udaf function

Use case

1.create a remote udaf for example to impl sum function

CREATE AGGREGATE FUNCTION  rpc_add(int) RETURNS int PROPERTIES (
    "TYPE"="RPC",
    "OBJECT_FILE"="127.0.0.1:9000",
    "update_fn"="rpc_update",
    "merge_fn"="rpc_merge",
    "finalize_fn"="rpc_finalize"
);

2. impl the fn interface and start a rpc server

image

3.use remote udaf function in vectorization mode

image

Related issues

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions