You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2023/12/11 19:51:33 UTC

(pinot) branch master updated: [hotfix] remove non-exist vector transform (#12140)

This is an automated email from the ASF dual-hosted git repository.

xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new f4b5de6b8a [hotfix] remove non-exist vector transform (#12140)
f4b5de6b8a is described below

commit f4b5de6b8ab864d2095eb0d74e7478696037dd25
Author: Rong Rong <ro...@apache.org>
AuthorDate: Mon Dec 11 11:51:27 2023 -0800

    [hotfix] remove non-exist vector transform (#12140)
    
    Co-authored-by: Rong Rong <ro...@startree.ai>
---
 .../java/org/apache/pinot/common/function/TransformFunctionType.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java b/pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java
index c2d7d3e240..330890a2f9 100644
--- a/pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java
+++ b/pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java
@@ -264,9 +264,6 @@ public enum TransformFunctionType {
       OperandTypes.family(ImmutableList.of(SqlTypeFamily.ARRAY)), "vector_dims"),
   VECTOR_NORM("vectorNorm", ReturnTypes.explicit(SqlTypeName.DOUBLE),
       OperandTypes.family(ImmutableList.of(SqlTypeFamily.ARRAY)), "vector_norm"),
-  VECTOR_SIMILARITY("vectorSimilarity", ReturnTypes.explicit(SqlTypeName.DOUBLE),
-      OperandTypes.family(ImmutableList.of(SqlTypeFamily.ARRAY, SqlTypeFamily.ARRAY, SqlTypeFamily.CHARACTER),
-          ordinal -> ordinal > 1 && ordinal < 4), "vector_similarity"),
 
   ARRAY_VALUE_CONSTRUCTOR("arrayValueConstructor", "array_value_constructor"),
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org