Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7591

Server Side UDF - User Defined Function

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: feature-backlog
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      As a user i would like to have a User Defined Function. Client app should be able to call the user defined function in sync/async fashion, something like execute(functionName, key, object,..). This will help me avoid moving data over the network.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        dipti Dipti Borkar added a comment -

        would server side scripting be helpful?

        Show
        dipti Dipti Borkar added a comment - would server side scripting be helpful?
        Hide
        mrenganathan muthupalaniappan renganathan added a comment -

        Yes something like a Server Side Script on the Couchbase server. Basically today client calls various methods like set/get/delete by passing the key. Based on the key and vbucket configuration the request goes to appropriate couch base node. On the same basis i should be able to call user defined function i have written on the couchbase server from client something like execute(functionName, key, object,..). Here key is mandatory so based on vbucket the request should go to appropriate node and execute the user defined function. User defined function should be able to access/store data on the node. This is similar to a stored procedure in relational world.

        Show
        mrenganathan muthupalaniappan renganathan added a comment - Yes something like a Server Side Script on the Couchbase server. Basically today client calls various methods like set/get/delete by passing the key. Based on the key and vbucket configuration the request goes to appropriate couch base node. On the same basis i should be able to call user defined function i have written on the couchbase server from client something like execute(functionName, key, object,..). Here key is mandatory so based on vbucket the request should go to appropriate node and execute the user defined function. User defined function should be able to access/store data on the node. This is similar to a stored procedure in relational world.
        Hide
        trond Trond Norbye added a comment -

        Removing couchbase-bucket as a component. This needs to be thought of as a complete solution and not necessarily as a couchbase-bucket specific task.

        Show
        trond Trond Norbye added a comment - Removing couchbase-bucket as a component. This needs to be thought of as a complete solution and not necessarily as a couchbase-bucket specific task.

          People

          • Assignee:
            cihan Cihan Biyikoglu
            Reporter:
            mrenganathan muthupalaniappan renganathan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Gerrit Reviews

              There are no open Gerrit changes