Repository: calcite Updated Branches: refs/heads/master 06c18ca74 -> 6c435a03e
[CALCITE-2008] Fix braces in TRIM signature. Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/6c435a03 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/6c435a03 Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/6c435a03 Branch: refs/heads/master Commit: 6c435a03e83eac6c0d9f13b87ef22ad9f93df714 Parents: 06c18ca Author: Gian Merlino <[email protected]> Authored: Tue Oct 3 18:36:24 2017 -0700 Committer: Gian Merlino <[email protected]> Committed: Thu Oct 12 07:52:21 2017 -0700 ---------------------------------------------------------------------- core/src/main/java/org/apache/calcite/sql/fun/SqlTrimFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite/blob/6c435a03/core/src/main/java/org/apache/calcite/sql/fun/SqlTrimFunction.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/calcite/sql/fun/SqlTrimFunction.java b/core/src/main/java/org/apache/calcite/sql/fun/SqlTrimFunction.java index 629d954..2a3345d 100644 --- a/core/src/main/java/org/apache/calcite/sql/fun/SqlTrimFunction.java +++ b/core/src/main/java/org/apache/calcite/sql/fun/SqlTrimFunction.java @@ -119,7 +119,7 @@ public class SqlTrimFunction extends SqlFunction { public String getSignatureTemplate(final int operandsCount) { switch (operandsCount) { case 3: - return "{0}([BOTH|LEADING|TRAILING} {1} FROM {2})"; + return "{0}([BOTH|LEADING|TRAILING] {1} FROM {2})"; default: throw new AssertionError(); }
