Thanks for your reply. Yes, I also located here, and I finally debugged to https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java#L3802 but I don’t know how to continue.
I find it hard to believe that https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/util/BuiltInMethod.java#L517 is the processing of the data_add function, because its name is add_months not date_add > 2024年8月26日 23:19,Norman Jordan <norman.jor...@improving.com.INVALID> 写道: > > this leads to here: > https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/util/BuiltInMethod.java#L517 > [https://opengraph.githubassets.com/6af4884a9b80dd1ac5b81e610caea8c9e34bcc847d0e172706a503b58f4f1557/apache/calcite]<https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/util/BuiltInMethod.java#L517> > calcite/core/src/main/java/org/apache/calcite/util/BuiltInMethod.java at main > ·