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

Analytics : Dataset with invalid filter impacts valid dataset ingestion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 6.0.1
    • analytics
    • 6.0.1-2020

    Description

      Setup : 2 Node cluster. 1 KV and 1 CBAS

      1. Create a dataset on beer-sample bucket with filter shown below. This is invalid but analytics workbench creates the dataset

      create dataset ds on` beer-sample` where len(meta(`beer-sample`).id) > 10;

      2. Create a valid dataset without filter

      create dataset ds1 on` beer-sample`

      3. Connect link will work but in logs we see below

      2019-01-10T12:22:07.009Z ERRO CBAS.active.ActiveEntityEventsListener [ActiveNotificationHandler] Active Job JID:0.8 failed org.apache.hyracks.api.exceptions.HyracksDataException: ASX0002: Type mismatch: function len expects its 1st input parameter to be of type array or multiset, but the actual input type is string (in line 1, at column 1) at org.apache.asterix.runtime.evaluators.functions.LenDescriptor$_EvaluatorGen.evaluate(LenDescriptor.java:86) ~[asterix-runtime.jar:6.0.1-2020]

       4. documents are not ingested in valid dataset despite the link being connected.

      5. UI displays remaining mutations: 7303 for both the datasets

      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)
              tanzeem.ahmed Tanzeem Ahmed (Inactive)
              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