Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10818

Allow instantiation of UDTs and tuples in UDFs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.6
    • Legacy/CQL
    • 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

          Activity

            People

              snazy Robert Stupp
              snazy Robert Stupp
              Robert Stupp
              Tom Hobbs
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: