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

Support for pure user-defined functions (UDF)

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
    • Normal
    • Resolution: Fixed
    • 2.2.0 beta 1
    • Legacy/CQL
    • Docs

    Description

      We have some tickets for various aspects of UDF (CASSANDRA-4914, CASSANDRA-5970, CASSANDRA-4998) but they all suffer from various degrees of ocean-boiling.

      Let's start with something simple: allowing pure user-defined functions in the SELECT clause of a CQL query. That's it.

      By "pure" I mean, must depend only on the input parameters. No side effects. No exposure to C* internals. Column values in, result out. http://en.wikipedia.org/wiki/Pure_function

      Attachments

        1. 7395.txt
          92 kB
          Robert Stupp
        2. 7395-dtest.txt
          4 kB
          Robert Stupp
        3. udf-drop-syntax.png
          4 kB
          Robert Stupp
        4. udf-create-syntax.png
          16 kB
          Robert Stupp

        Issue Links

        Activity

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

          People

            snazy Robert Stupp Assign to me
            jbellis Jonathan Ellis
            Robert Stupp
            Tom Hobbs
            Shawn Kumar Shawn Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment