Skip to content
Snippets Groups Projects
Verified Commit 6e789fa4 authored by Denis Smirnov's avatar Denis Smirnov
Browse files

fix: re-implement trim

Previous implementation treated TRIM as an SQL built-in function,
but in reality it is a special expression in SQL. The main difference
is that "TRIM" is not a name but a reserved keyword, so it can't
be wrapped into double quotes. Moreover, if we treat it as a function,
we need some special hacks to handle a complicated logic in its
arguments. Now TRIM is a separated expression with a custom parsing
logic.
parent 1b132f1b
No related branches found
No related tags found
1 merge request!419fix: re-implement trim
Pipeline #38062 passed
Showing
with 465 additions and 116 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment