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

Invalid data types in create dataset Type definition raises "Internal Error"

    XMLWordPrintable

Details

    • Triaged
    • Centos 64-bit
    • 1
    • Yes
    • CX Sprint 204

    Description

      if float or integer is passed in type definition it give following error -
      {{}}

      [
       {
       "code": 24009,
       "msg": "Type float could not be found. (in line 1, at column 1)",
       "query_from_user": "create external dataset xyz2(id float) on `cbas-regression-1` at Default.s3link with {\"format\":\"csv\"};"
       }
      ]

      but passing some invalid data type give following error-
      {{}}

      [
       {
       "code": 25000,
       "msg": "Internal error",
       "query_from_user": "create external dataset xyz2(id list) on `cbas-regression-1` at Default.s3link with {\"format\":\"csv\"};"
       }
      ]

      {{}}

      Attachments

        For Gerrit Dashboard: MB-40026
        # Subject Branch Project Status CR V

        Activity

          Build couchbase-server-6.6.0-7830 contains cbas-core commit 0faaf37 with commit message:
          MB-40025, MB-40026: Improve error reporting in external datasets

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7830 contains cbas-core commit 0faaf37 with commit message: MB-40025 , MB-40026 : Improve error reporting in external datasets

          Build couchbase-server-7.0.0-2437 contains cbas-core commit 0faaf37 with commit message:
          MB-40025, MB-40026: Improve error reporting in external datasets

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2437 contains cbas-core commit 0faaf37 with commit message: MB-40025 , MB-40026 : Improve error reporting in external datasets
          umang.agrawal Umang added a comment -

          verified with Couchbase Server build 6.6.0-7861

          umang.agrawal Umang added a comment - verified with Couchbase Server build 6.6.0-7861

          Build couchbase-server-6.6.2-9599 contains cbas-core commit 0faaf37 with commit message:
          MB-40025, MB-40026: Improve error reporting in external datasets

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.2-9599 contains cbas-core commit 0faaf37 with commit message: MB-40025 , MB-40026 : Improve error reporting in external datasets

          People

            umang.agrawal Umang
            umang.agrawal Umang
            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