feat: add funtion OctetLength and fix function CharLength by wszhdshys · Pull Request #264 · KipData/KiteSQL

What problem does this PR solve?

The octet function is implemented to calculate the number of bytes of the input value. And fixed the charlength function so that it correctly outputs the number of characters instead of bytes

What is changed and how it works?

Code changes

  • Has Rust code change
  • Has CI related scripts change

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Note for reviewer