Abhishek Rawat created IMPALA-14568:
---------------------------------------

             Summary: Add support for cosine similarity function
                 Key: IMPALA-14568
                 URL: https://issues.apache.org/jira/browse/IMPALA-14568
             Project: IMPALA
          Issue Type: Task
            Reporter: Abhishek Rawat


The cosine similarity function measures the angle between two vectors, 
regardless of their length (magnitude). The use cases include measuring text 
similarity and is ideal when the direction (semantic meaning/concept) is more 
important than the magnitude.

Impala doesn't support a native vector data type yet, so we could possibly use 
an ARRAY<FLOAT> data type for representing vectors.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to