yfsn666 opened a new issue, #10618:
URL: https://github.com/apache/inlong/issues/10618
### Description
Enable transform SQL to support the following FlinkSQL common functions:
- substring(string FROM INT1 [ FOR INT2 ]): returns a substring of STRING
starting from position INT1 with length INT2 (to the end by default)
- locate(string1, string2[, integer]):
- returns the position of the first occurrence of string1 in string2 after
position integer
- returns 0 if not found
- returns NULL if any of arguments is NULL
- to_date(string1[, string2]): converts a date string string1 with format
string2 (by default ‘yyyy-MM-dd’) to a date
- date_format(timestamp, string): converts timestamp to a value of string in
the format specified by the date format string. The format string is compatible
with Java’s SimpleDateFormat
Parent issue:
https://github.com/apache/inlong/issues/10022
### Use case
_No response_
### 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]