
Answer-first summary for fast verification
Answer: JAROWINKLER_SIMILARITY
The JAROWINKLER_SIMILARITY function in Snowflake specifically returns an integer between 0 and 100 when calculating string similarity, where 0 indicates no similarity and 100 indicates an exact match. This is confirmed by the Snowflake documentation and the community discussion where all participants (100%) selected option B with upvoted comments explaining this exact behavior. APPROXIMATE_SIMILARITY returns a floating-point value between 0 and 1, not an integer 0-100. APPROXIMATE_JACCARD_INDEX also returns a floating-point value between 0 and 1. MINHASH_COMBINE is used for combining MinHash states and doesn't directly return a similarity score in the 0-100 integer range.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.