[
https://issues.apache.org/jira/browse/CALCITE-5899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751507#comment-17751507
]
hongyu guo edited comment on CALCITE-5899 at 8/7/23 1:55 PM:
-------------------------------------------------------------
Hi, I open a pr([#3351|https://github.com/apache/calcite/pull/3351]) for this
function.
was (Author: JIRAUSER300840):
Hi, I submit a pr([#3351|https://github.com/apache/calcite/pull/3351]) about
this function.
> Add HAMMING_DISTANCE function (enabled in Presto library)
> ---------------------------------------------------------
>
> Key: CALCITE-5899
> URL: https://issues.apache.org/jira/browse/CALCITE-5899
> Project: Calcite
> Issue Type: Sub-task
> Components: core
> Affects Versions: 1.35.0
> Reporter: Runkang He
> Assignee: hongyu guo
> Priority: Major
> Labels: pull-request-available
>
> Add HAMMING_DISTANCE function (enabled in Presto library)
> HAMMING_DISTANCE(string1, string2): Returns the Hamming distance of
> {{string1}} and {{{}string2{}}}, i.e. the number of positions at which the
> corresponding characters are different. Note that the two strings must have
> the same length.
> See more details in
> [Presto|https://prestodb.io/docs/current/functions/string.html] doc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)