Skip to content

[Feature] support binary functions #56426

@zhangstar333

Description

@zhangstar333

Search before asking

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

Description

Doris have add a new datatype about binary,
And now need support some binary functions.
some function have implement for string type in Doris, so need explands it for varbinary type.
and those function could ref Velox or DuckDB.

if you wants implement one of function as below, you could comment and pick it like issue
and when you implement the function, you maybe could refer this to know what you should do.

1. length(varbinary) -> int
2. md5(varbinary) -> string
3. sm3(varbinary) -> string
4. xxhash_32(varbinary) -> int
5. xxhash_64(varbinary) -> bigint
6. sha1(varbinary) -> string
7. sha2(varbinary, int) -> string
8. from_base64_binary(string) -> varbinary
9. to_base64_bianry(varbinary) -> string
10. sub_binary(varbinary, <pos> [, <len>]) ->varbinary

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions