Uploaded image for project: 'Couchbase Spark Connector'
  1. Couchbase Spark Connector
  2. SPARKC-69

Fix docs to reflect latest API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.3.0
    • 1.2.1, 2.0.0
    • Documentation

    Description

      Documentation error on pages at http://developer.couchbase.com/documentation/server/4.5/connectors/spark-2.0/working-with-rdds.html
      Refers to Query class which was renamed a while ago.

      Docs say use terminology like:
      {{val query = "SELECT name FROM `travel-sample` WHERE type = 'airline' ORDER BY name ASC LIMIT 10"
      sc
        .couchbaseQuery(Query.simple(query))
        .collect()
        .foreach(println)
      }}

      Should be N1qlQuery, after importing:

      {{import com.couchbase.client.java.query._
      sc.couchbaseQuery(N1qlQuery.simple(query))
      }}

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            tyler.mitchell Tyler Mitchell
            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