adelapena commented on code in PR #2459:
URL: https://github.com/apache/cassandra/pull/2459#discussion_r1247799836
##########
src/java/org/apache/cassandra/cql3/functions/FunctionParameter.java:
##########
@@ -336,4 +341,55 @@ public String toString()
}
};
}
+
+ /**
+ * @param type the type of the vector elements
+ * @return a function parameter definition that accepts values of type
{@link VectorType} with elements of the
+ * specified {@code type} and any dimensions.
+ */
+ static FunctionParameter vector(CQL3Type type)
+ {
+ return new FunctionParameter()
+ {
+ @Override
+ public AbstractType<?> inferType(String keyspace,
+ AssignmentTestable arg,
+ @Nullable AbstractType<?>
receiverType,
+ List<AbstractType<?>>
inferredTypes)
Review Comment:
We do, added
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]