[
https://issues.apache.org/jira/browse/CALCITE-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chunwei Lei resolved CALCITE-3704.
----------------------------------
Fix Version/s: 1.23.0
Resolution: Fixed
Fixed inĀ
[https://github.com/apache/calcite/commit/1eff60b70a1d71022862cca5e5b3bb1178a84392].
Thank you for your pr, [~x1q1j1]!
> Implement STRCMP function
> -------------------------
>
> Key: CALCITE-3704
> URL: https://issues.apache.org/jira/browse/CALCITE-3704
> Project: Calcite
> Issue Type: Improvement
> Reporter: Forward Xu
> Assignee: Forward Xu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.23.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> IMPLEMENT STRCMP FUNCTION
> MySQL strcmp() function is used to compare two strings. It returns 0 if both
> of the strings are same and returns -1 when the first argument is smaller
> than the second according to the defined order and 1 when the second one is
> smaller the first one.
> *Syntax:*
> STRCMP (expr1, expr2)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)