Writing to a Miner Dataset

This procedure describes how to write field information and data to a Miner Dataset.
  1. Under Primary Stages > Deployed Stages > Analytics Scoring, drag the Write to Miner Dataset stage onto the canvas and connect it to the dataflow.
  2. Double click the Write to Miner Dataset stage to show the Write to Miner Dataset Options dialog.
  3. Click the ... button inside the File Name field to show the Save File dialog.
  4. Using the Save File dialog, choose where the new focus file will be saved and provide an appropriate file name.
    Focus files must have .ftr extension. The .ftr extension will automatically be appended to the file name if it's missing.
  5. Optional: Uncheck the Overwrite check box.
    If a focus file with the same name already exists in the directory specified (step 4), unchecking the Overwrite check box will prevent the existing focus file from being overwritten each time the stage is executed within a dataflow (the stage will fail to execute). However, this will mean that when the Write To Miner Dataset stage has been executed successfully within dataflow, the file path must be re-configured (step 4) or the existing focus file will have to be manually moved or deleted.
  6. Optional: Apply a metadata file for the new focus (see Applying Metadata).
  7. Click the Fields tab in the Write to Miner Dataset Options dialog to show the fields table.
    The fields table will list all the fields that the Write to Miner Dataset stage will write to the Miner Dataset.
  8. Optional: Click the Quick Add button.
    Clicking the Quick Add button launches the Quick Add dialog, the dialog lists all fields from the input channel and the current fields list. Select/deselect the checkboxes beside each field to add/remove the field from the fields list.
  9. If required, modify the fields list using the available options (see Fields Tab).
    At least one field must be specified or a validation error indicator will be displayed.
  10. Finally, click the OK button to apply the configuration.
    If any validation errors are detected then a validation error message will be displayed. Correct the validation errors before clicking the OK button again. If no validation errors are found, the Write to Miner Dataset Options dialog will close.
    Note: To re-configure the stage, double click the Write to Miner Dataset stage to re-display the Write to Miner Dataset Options dialog.