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

Support for pure user-defined functions (UDF)

    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. udf-drop-syntax.png
          4 kB
          Robert Stupp
        2. udf-create-syntax.png
          16 kB
          Robert Stupp
        3. 7395-dtest.txt
          4 kB
          Robert Stupp
        4. 7395.txt
          92 kB
          Robert Stupp

        Issue Links

          Activity

            People

              snazy Robert Stupp
              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: