Hello Yida Wu, Abhishek Rawat, Pranav Lodha, Michael Smith, Impala Public 
Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23730

to look at the new patch set (#8).

Change subject: IMPALA-14566: Add euclidean_distance and cosine_similarity 
functions for ARRAY<FLOAT>
......................................................................

IMPALA-14566: Add euclidean_distance and cosine_similarity functions for 
ARRAY<FLOAT>

This commit adds two new built-in functions for vector similarity calculations:
- euclidean_distance: Computes L2 distance between two vectors
- cosine_similarity: Computes cosine similarity between two vectors

Both functions operate on ARRAY<FLOAT> data types and return DOUBLE values
for better precision. These functions enable semantic search capabilities
within Impala.

Generated-by: Cursor (composer-1)
Change-Id: Id305acc87530d5d0e53613fe8df9a631ea4e1080
---
M be/src/codegen/impala-ir.cc
M be/src/exprs/CMakeLists.txt
M be/src/exprs/anyval-util.cc
M be/src/exprs/anyval-util.h
M be/src/exprs/scalar-expr-evaluator.cc
A be/src/exprs/vector-functions-ir.cc
A be/src/exprs/vector-functions.h
M be/src/udf/udf.h
M common/function-registry/gen_builtins_catalog.py
M common/function-registry/impala_functions.py
M fe/src/main/java/org/apache/impala/catalog/ArrayType.java
A 
testdata/workloads/functional-query/queries/QueryTest/vector-distance-functions.test
M tests/query_test/test_exprs.py
13 files changed, 531 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/30/23730/8
--
To view, visit http://gerrit.cloudera.org:8080/23730
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id305acc87530d5d0e53613fe8df9a631ea4e1080
Gerrit-Change-Number: 23730
Gerrit-PatchSet: 8
Gerrit-Owner: Raghav Jindal <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Reviewer: Raghav Jindal <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>

Reply via email to