You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Runkang He (Jira)" <ji...@apache.org> on 2023/08/06 04:26:00 UTC
[jira] [Created] (CALCITE-5899) Add HAMMING_DISTANCE function (enabled in Presto library)
Runkang He created CALCITE-5899:
-----------------------------------
Summary: 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
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)