It seems that     trim("ab" from "abcba")should return "c", according to 
https://calcite.apache.org/docs/reference.html
However calcite removes only "a" of "ab", and this trim() returs "bcb". See 
implementation of SqlFunctions.trim()
Is it a bug or something? :)

Zhong Yu

Reply via email to