Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2880

Combi test failure: Test_Collections_DataverseCollectionQuery

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.5
    • 3.2.0
    • library
    • None
    • 1

    Description

      Error Message

      Couchbase.Core.Exceptions.ParsingFailureException : syntax error - at DATAVERSE [3000]

      Stacktrace

      at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Query/QueryResultExtensions.cs:line 56 at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer, IRequestSpan span) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 231 at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Query/QueryClient.cs:line 78 at Couchbase.Management.Analytics.AnalyticsIndexManager.CreateDataverseAsync(String dataverseName, CreateAnalyticsDataverseOptions options) in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase/Management/Analytics/AnalyticsIndexManager.cs:line 51 at Couchbase.IntegrationTests.Services.Analytics.AnalyticsTests.Test_Collections_DataverseCollectionQuery() in /home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/tests/Couchbase.IntegrationTests/Services/Analytics/AnalyticsTests.cs:line 98 — End of stack trace from previous location where exception was thrown —

      Attachments

        Issue Links

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

          Activity

            jmorris Jeff Morris added a comment -

            WIP fix is here: http://review.couchbase.org/c/couchbase-net-client/+/153998

            The fix is to change the internal HTTP client type of the AnalyticsManager class from the QueryClient (N1QL) to AnalyticsClient.

            The commit may be broken into two commits/tickets as the fix ends up breaking unit tests which are not resolvable because the older AnalyticsRequest class is "newed" up internally. The change to make these methods unit testable is much bigger.

            jmorris Jeff Morris added a comment - WIP fix is here: http://review.couchbase.org/c/couchbase-net-client/+/153998 The fix is to change the internal HTTP client type of the AnalyticsManager class from the QueryClient (N1QL) to AnalyticsClient. The commit may be broken into two commits/tickets as the fix ends up breaking unit tests which are not resolvable because the older AnalyticsRequest class is "newed" up internally. The change to make these methods unit testable is much bigger.

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty