Writing to a Miner Dataset
- Under Primary Stages > Deployed Stages > Analytics Scoring, drag the Write to Miner Dataset stage onto the canvas and connect it to the dataflow.
- Double click the Write to Miner Dataset stage to show the Write to Miner Dataset Options dialog.
- Click the ... button inside the File Name field to show the Save File dialog.
-
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.
- 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.
- Optional: Apply a metadata file for the new focus (see Applying Metadata).
-
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.
- 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.
-
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.
-
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.