feat: add support for `TRIM()` by tkzt · Pull Request #211 · KipData/KiteSQL

What problem does this PR solve?

Generally, according to E21_09, adds support for the method TRIM().

Issue link: #130

What is changed and how it works?

Expression matching a pattern below will work fine:

TRIM([LEADING | TRAILING | BOTH] [trim_what FROM] exp)

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

None