You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "hongyu guo (Jira)" <ji...@apache.org> on 2023/08/07 09:30:00 UTC
[jira] [Comment Edited] (CALCITE-5899) Add HAMMING_DISTANCE function (enabled in Presto library)
[ 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 9:29 AM:
-------------------------------------------------------------
Hi, I submit a pr([#3351|https://github.com/apache/calcite/pull/3351]) about 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)