[fix](decimal256) support decimal256 for many functions (#42136) (#42353)

BP #42136
This commit is contained in:
TengJianPing
2024-10-24 10:52:28 +08:00
committed by GitHub
parent 32b13b285c
commit 64d0c55e1d
62 changed files with 949 additions and 214 deletions

View File

@ -68,9 +68,9 @@ AggregateFunctionPtr create_function_lead_lag_first_last(const String& name,
#define CREATE_WINDOW_FUNCTION_WITH_NAME_AND_DATA(CREATE_FUNCTION_NAME, FUNCTION_DATA, \
FUNCTION_IMPL) \
AggregateFunctionPtr CREATE_FUNCTION_NAME(const std::string& name, \
const DataTypes& argument_types, \
const bool result_is_nullable) { \
AggregateFunctionPtr CREATE_FUNCTION_NAME( \
const std::string& name, const DataTypes& argument_types, \
const bool result_is_nullable, const AggregateFunctionAttr& attr) { \
const bool arg_is_nullable = argument_types[0]->is_nullable(); \
AggregateFunctionPtr res = nullptr; \
\