我需要向Calcite添加一个用户定义的函数,它将一个整数作为参数并返回一个整数。publicclassSquareFunction{publicinteval(inta){returna*a;}}创建模式和添加功能的相关代码是SchemaPlusrootSchema=Frameworks.createRootSchema(false);rootSchema.add("SQUARE_FUNC",ScalarFunctionImpl.create(SquareFunction.class,"eval");但是像一个简单的SQLselectSQUARE_FUNC(1)fromtest;在验