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

Support for pure user-defined functions (UDF)

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: Legacy/CQL
    • Labels:
    • Impacts:
      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-create-syntax.png
          16 kB
          Robert Stupp
        4. udf-drop-syntax.png
          4 kB
          Robert Stupp

        Issue Links

          Activity

            People

            • Assignee:
              snazy Robert Stupp Assign to me
              Reporter:
              jbellis Jonathan Ellis
              Authors:
              Robert Stupp
              Reviewers:
              Tom Hobbs
              Tester:
              Shawn Kumar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment