You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Runkang He (Jira)" <ji...@apache.org> on 2023/08/06 04:28:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Runkang He updated CALCITE-5899:
--------------------------------
    Description: 
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.

  was:
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.


> 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
>            Priority: Major
>
> 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)