Details
-
New Feature
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-11533 Support creating and returning UDTs from a UDF
- Resolved
- links to