joker-star-l commented on PR #39546: URL: https://github.com/apache/doris/pull/39546#issuecomment-2302101191
@superdiaodiao @yiguolei Hello, is this class [GenerateFunction](https://github.com/joker-star-l/doris/blob/master/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/analysis/GenerateFunction.java) used to generate new functions? When I run the test function `generate()`, I got some errors: ``` java.lang.IllegalStateException: Unsupported generate code by data type: decimalv3(18,0) at org.apache.doris.nereids.rules.analysis.GenerateFunction.getDataTypeAndInstance(GenerateFunction.java:1056) at org.apache.doris.nereids.rules.analysis.GenerateFunction.generateSignatures(GenerateFunction.java:683) at org.apache.doris.nereids.rules.analysis.GenerateFunction.generateFunctions(GenerateFunction.java:596) at org.apache.doris.nereids.rules.analysis.GenerateFunction.lambda$collectFunctionCodes$9(GenerateFunction.java:549) at org.apache.doris.nereids.rules.analysis.GenerateFunction.collectFunctionCodes(GenerateFunction.java:556) at org.apache.doris.nereids.rules.analysis.GenerateFunction.generate(GenerateFunction.java:276) ``` Am I using it incorrectly? -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org