yfsn666 opened a new issue, #10776: URL: https://github.com/apache/inlong/issues/10776
### What happened In `DateFormatFunction.java`, the first parameter(timestamp) is currently parsed as a `BigDecimal` type. However, according to the Flink documentation, it is more appropriate to parse it as a `java.sql.Timestamp` type.   ### What you expected to happen When the column to be parsed is stored as a SQL timestamp in the database, it may not be parsed as a `BigDecimal` type. ### How to reproduce When the first parameter of function `date_format` is a SQL timestamp such as "2024-08-12 12:00:00" ### Environment _No response_ ### InLong version master ### InLong Component InLong SDK ### Are you willing to submit PR? - [X] Yes, I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
