[feature](function) support ip functions isipv4string and isipv6string (#28556)

This commit is contained in:
yangshijie
2024-01-07 13:03:11 +08:00
committed by GitHub
parent e1ff439e63
commit eb4c389b0b
16 changed files with 441 additions and 30 deletions

View File

@ -37,5 +37,7 @@ void register_function_ip(SimpleFunctionFactory& factory) {
factory.register_function<FunctionIPv6StringToNum<IPStringToNumExceptionMode::Null>>();
factory.register_alias(FunctionIPv6StringToNum<IPStringToNumExceptionMode::Throw>::name,
"inet6_aton");
factory.register_function<FunctionIsIPv4String>();
factory.register_function<FunctionIsIPv6String>();
}
} // namespace doris::vectorized