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

Deep nested correlation not properly detected and uses cached results

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      CREATE OR REPLACE FUNCTION `FN_Test_Bad3` (data) LANGUAGE INLINE AS ( ( SELECT RAW (SELECT RAW data) ) ) ;
      select a,test from [1,2,3] a let test = FN_Test_Bad3(a) ;
      [
          {
              "a": 1,
              "test": [
                  [
                      1
                  ]
              ]
          },
          {
              "a": 2,
              "test": [
                  [
                      1
                  ]
              ]
          },
          {
              "a": 3,
              "test": [
                  [
                      1
                  ]
              ]
          }
          ]

      Attachments

        Issue Links

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

          Activity

            People

              kamini.jagtiani Kamini Jagtiani
              hitesh.walia Hitesh Walia
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty