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

Allow instantiation of UDTs and tuples in UDFs

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment