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

Allow PATH in COPY TO to accept multiple expressions

    XMLWordPrintable

Details

    Description

      Example:

      COPY (
         SELECT VALUE c
         FROM Commerce.Customers c
         WHERE c.city IN ["Boston, MA", "Hanover, MA"]
      ) AS t
      TO myS3Bucket AT myS3Link 
      PATH ("commerce", state, zip) -- allow multiple expressions
      OVER (
         PARTITION BY t.address.state AS state,
                      t.address.zipcode AS zip
      )
      WITH { 
         "compression": "gzip"  
      }
       

      Path expressions should be concatenated by path separators

      Attachments

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

        Activity

          People

            wail.alkowaileet Wail Alkowaileet
            wail.alkowaileet Wail Alkowaileet
            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