TDengine
TDengine copied to clipboard
fix: to_base64 should cast input parameter to string
Description
Base64 function was merged a couple of weeks ago. This PR adds compatibility with MySQL to_base64, i.e. it automatically casts the non-string parameters to string (integer and decimal numbers, booleans and timestamps).
Checklist
- [x] Is the user manual updated?
- [x] Are the test cases passed and automated?
- [x] Is there no significant decrease in test coverage?