QuestionQ7

VerifiedSnowflake Gen AI & LLM Functions

Which function calculates the Manhattan distance between two points in a vector space?

Explanation

Manhattan distance is the L1, or taxicab, distance, calculated by summing the absolute differences of corresponding vector coordinates. VECTOR_L1_DISTANCE performs this calculation; L2 distance is Euclidean distance.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!