cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10818) Evaluate exposure of DataType instances from JavaUDF class
Date Fri, 19 Feb 2016 13:51:18 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154228#comment-15154228
] 

Robert Stupp commented on CASSANDRA-10818:
------------------------------------------

Updated my branch to provide a {{UDFContext}} interface, which currently provides the proposed
methods (plus variants to create UDT/TupleValues by argument index).

> Evaluate exposure of DataType instances from JavaUDF class
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-10818
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10818
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: CQL
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 3.x
>
>
> Currently UDF implementations cannot create new UDT instances.
> There's no way to create a new UT instance without having the {{com.datastax.driver.core.DataType}}
to be able to call {{com.datastax.driver.core.UserType.newValue()}}.
> From a quick look into the related code in {{JavaUDF}}, {{DataType}} and {{UserType}}
classes it looks fine to expose information about return and argument types via {{JavaUDF}}.
> Have to find some solution for script UDFs - but feels doable, too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message