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

Add a way to retrieve the properties with which a dataset was created

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.4.0
    • Component/s: Datasets
    • Labels:
      None
    • Release Notes:
      Adds an API to retrieve the properties that were used to configure (or reconfigure) a dataset.
    • Rank:
      1|hzz88f:

      Description

      In CDAP-3051, we want to add an API to allow updating the properties of a dataset. That goes hand in hand with an API to retrieve the current properties. For example, if an app wants to add an index column to an index table, it first needs to know the existing set of index columns.

      However, it is not trivial to retrieve the current properties of a dataset. The dataset service does not store the properties that were used to configure the dataset in its metadata. What is actually does is call the dataset definition's configure() method, and then stores the dataset spec returned from that. That spec has a properties field, but that does not necessarily reflect the properties that were passed in.

      In order to reconfigure or to clone a dataset, the client needs to be able to retrieve the original properties with which the dataset was created. This Jira adds an API to do so.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreas Andreas Neumann
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: