You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2014/08/03 12:01:20 UTC
[jira] [Created] (CASSANDRA-7674) Add implicit casting of UDF
arguments
Robert Stupp created CASSANDRA-7674:
---------------------------------------
Summary: Add implicit casting of UDF arguments
Key: CASSANDRA-7674
URL: https://issues.apache.org/jira/browse/CASSANDRA-7674
Project: Cassandra
Issue Type: Improvement
Reporter: Robert Stupp
Writing implementations for each possible combination of even most "primitive" CQL types is waste of time and results in unclear code.
E.g. a {{divide}} function should accept {{int, bigint, float, double}} for the first and second paramter.
Better if UDF implementation can automagically do some up-casting ({{int}} to {{bigint}}, {{float}} to {{double}} etc).
--
This message was sent by Atlassian JIRA
(v6.2#6252)