TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

fix: to_base64 should cast input parameter to string

Open aestriplex opened this issue 7 months ago • 0 comments

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?

aestriplex avatar May 16 '25 09:05 aestriplex