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

External dataset creation is successful on non-existent dataverse

    XMLWordPrintable

Details

    • Triaged
    • 1
    • No
    • CX Sprint 197, CX Sprint 198, CX Sprint 199

    Description

      Creating an external dataset on an external link to AWS s3 bucket on a non-existent dataverse is successfull.

       

      Steps to reproduce - 

      1. Create an external link to AWS S3 bucket.

        curl -v -u Administrator:password -X POST "http://localhost:8095/analytics/link?dataverse=myDataverse&name=myAwsLink&type=S3&accessKey=myAccessKey&secretKey=mySecretKey&region=us-west-2&serviceEndpoint=myEndpointUri"
        

      2. Create an external dataset on that link on a non-existent dataverse.

        CREATE EXTERNAL DATASET nonExistentDataset.myDataset
        ON myS3Bucket
        AT myDataverse.myAwsLink
        USING "json-data/reviews"
        WITH { "format": "json" };
        

      Attachments

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

        Activity

          Hussain.Towaileb Hussain Towaileb added a comment - Coordinated commit reference: https://github.com/couchbase/asterixdb/commit/0f407d9224c92a2a5d571dcd53873da9c287021f

          Build couchbase-server-6.6.0-7652 contains cbas-core commit 07d256c with commit message:
          MB-39142: Check if dataverse exists before continuing the DDL execution

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7652 contains cbas-core commit 07d256c with commit message: MB-39142 : Check if dataverse exists before continuing the DDL execution

          Build couchbase-server-7.0.0-2158 contains cbas-core commit 07d256c with commit message:
          MB-39142: Check if dataverse exists before continuing the DDL execution

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2158 contains cbas-core commit 07d256c with commit message: MB-39142 : Check if dataverse exists before continuing the DDL execution
          umang.agrawal Umang added a comment -

          Verified with CouchBase server version 6.6.0-7861

          umang.agrawal Umang added a comment - Verified with CouchBase server version 6.6.0-7861

          Build couchbase-server-6.6.2-9599 contains cbas-core commit 07d256c with commit message:
          MB-39142: Check if dataverse exists before continuing the DDL execution

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.2-9599 contains cbas-core commit 07d256c with commit message: MB-39142 : Check if dataverse exists before continuing the DDL execution

          People

            umang.agrawal Umang
            umang.agrawal Umang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty