hubgeter commented on code in PR #40695:
URL: https://github.com/apache/doris/pull/40695#discussion_r1756586601
##########
be/src/vec/functions/math.cpp:
##########
@@ -350,6 +350,70 @@ struct PowName {
};
using FunctionPow = FunctionBinaryArithmetic<PowImpl, PowName, false>;
+class FunctionNormalCdf : public IFunction {
+public:
+ static constexpr auto name = "normal_cdf";
+ String get_name() const override { return name; }
+ static FunctionPtr create() { return
std::make_shared<FunctionNormalCdf>(); }
+ DataTypePtr get_return_type_impl(const DataTypes& arguments) const
override {
+ return make_nullable(std::make_shared<DataTypeFloat64>());
+ }
+ DataTypes get_variadic_argument_types_impl() const override {
+ return {std::make_shared<DataTypeFloat64>(),
std::make_shared<DataTypeFloat64>(),
+ std::make_shared<DataTypeFloat64>()};
+ }
+ size_t get_number_of_arguments() const override { return 3; }
Review Comment:
i will add it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]