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

Migration hangs if nested UDF is present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.4
    • 7.6.0, 7.6.2, 7.6.1
    • query
    • Untriaged
    • 0
    • No

    Description

      If nested UDF (one UDF calls another in its definition) is present, then migration from earlier version (e.g. 7.2.5) to 7.6.2 will hang.

      CREATE OR REPLACE FUNCTION default:b1.s1.func1(num)
      {
       ( SELECT RAW num )
      };
       
      CREATE OR REPLACE FUNCTION default:b1.s1.func2(num)
      {
       ( SELECT func1(num) AS func_result )
      };
       
      SELECT default:b1.s1.func2(20);
      

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            bingjie.miao Bingjie Miao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty