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

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


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


      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.


          Issue Links



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


                • Created: