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

[CX] Out of memory when using array_intersect()

    XMLWordPrintable

Details

    • Unknown
    • CX Sprint 135, CX Sprint 136, CX Sprint 137

    Description

      The following query runs out of memory.

      from range(1, 1000000) t
      let p = array_count(array_intersect([t, t+1], [t+1, t+2]))
      select sum(p)

      The problem seems to be in array_intersect runtime code

      Attachments

        Issue Links

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

          Activity

            People

              tanzeem.ahmed Tanzeem Ahmed (Inactive)
              dmitry.lychagin Dmitry Lychagin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty