code: func NewFunction(ctx sessionctx.Context, funcName string, retType *types.FieldType, args ...Expression) (Expression, error) {
  	return newFunctionImpl(ctx, true, funcName, retType, args...)
  }
docs: // NewFunction creates a new scalar function or constant via a constant folding.