Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2860

Bad doc for updating dataset properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: Datasets
    • Labels:
      None
    • Rank:
      1|hzyv5r:

      Description

      The docs for the API to update dataset properties is wrong. http://docs.cask.co/cdap/3.1.0-SNAPSHOT/en/reference-manual/http-restful-api/dataset.html#updating-an-existing-dataset

      It says the body of the request is of the form:

      {
         "typeName":"<type-name>",
         "properties":{<properties>}
      }
      

      It looks like the API was changed at some point to just take the properties:

      {
        "<prop-name>": "<prop-value>",
        ...
      }
      

        Attachments

          Activity

            People

            • Assignee:
              John John Jackson
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: