NGRAM_SEARCH(Lakehouse v2)
n-gramの一致に基づいて、2つの文字列の類似度スコアを返します。
Analyze 構文
Section titled “Analyze 構文”func.ngram_search(<str1>, <str2>, <n>)Analyze の例
Section titled “Analyze の例”func.ngram_search('StarRocks', 'Starrocks', 4)
┌─────┐│ 0.5 │└─────┘SQL 構文
Section titled “SQL 構文”NGRAM_SEARCH(<str1>, <str2>, <n>)SQL の例
Section titled “SQL の例”SELECT NGRAM_SEARCH('StarRocks', 'Starrocks', 4);
┌─────┐│ 0.5 │└─────┘