Rewrite PGGenericFuncGenerator to support variable number of types
Currently PGFuncBaseGenerator and PGGenericFuncGenerator classes have only one template that takes two argument only, i.e., two datums. These templates can support only (built-in) functions that take two arguments as input only (e.g., int4pl). However, there are built-in functions that take either more or less than two arguments. This will benefit count and average aggregate function.
Showing
想要评论请 注册 或 登录