xiedeyantu commented on code in PR #4400:
URL: https://github.com/apache/calcite/pull/4400#discussion_r2133901626
##########
core/src/test/resources/sql/planner.iq:
##########
@@ -147,6 +147,81 @@ EnumerableCalc(expr#0..2=[{inputs}], $f0=[$t1], $f1=[$t2])
!plan
!set planner-rules original
+# [CALCITE-7042] Eliminate nested TRIM calls, exploiting the fact that TRIM is
idempotent
Review Comment:
All the cases should be move to functions.iq. You can squashed to one sql,
like `select trim(trim(' aa ')), trim(trim(both 'c' from ' aa ')), ...;`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]