Data Preview
Data Preview Overview
You can preview data to help build or fine-tune a pipeline. When using Control Hub, you can also use data preview when developing pipeline fragments.
You can use data preview with complete or incomplete pipelines and fragments. And you can choose from several options to provide source data for the preview.
When you preview data, source data passes through the pipeline or fragment, allowing you to review how the data passes and changes through each stage. You can edit stage properties and run the preview again to see how your changes affect the data. You can also edit preview data to test and tune the pipeline logic.
You can preview data for one stage at a time or for a group of stages. You can also view the data in list or table view, and refresh the preview data.
Data Preview Availability
You can preview complete and incomplete pipelines and Control Hub pipeline fragments. The Data Preview icon becomes active when data preview is available.
- The authoring Data Collector is an available registered Data Collector.
- All stages in the pipeline are connected
- All required properties are defined
Source Data for Data Preview
- Data from the origin - Use available data from the origin.
- Data from the test origin - Use data from the test origin configured in the pipeline or fragment properties.
Writing to Destinations
As a tool for development, data preview does not write data to destinations by default.
If you like, you can configure the preview to write data to destinations. We advise against writing preview data to production destinations.
Notes
- Date, datetime, and time data - Data preview displays date,
datetime, and time data using the default format of the browser locale. For
example, if the browser uses the en_US locale, preview displays dates using
the following format: MMM d, y h:mm:ss a.
Data preview displays date, datetime, and time data using the time zone that you select in the preview configuration. By default, data preview displays data using the browser time zone.
- Oracle CDC Client pipelines - When previewing a pipeline that uses the Oracle CDC Client origin, data preview might time out before connecting to the origin system. When this occurs, try increasing the timeout to 120,000 milliseconds to allow the origin time to connect.
- Whole file data format - When previewing a pipeline that processes whole file data, data preview displays only one record.
Preview Codes
In Preview mode, Pipeline Designer displays different colors for different types of data. Pipeline Designer uses other codes and formatting to highlight changed fields.
Preview Code | Description |
---|---|
Black values | Date data |
Blue values | Numeric data |
Green values | String data |
Red values | Boolean data |
Asterisk | Records that include edited field values |
Red italic field labels | Fields that contain edited data |
Light red background | Fields removed by a stage |
Italic values | Edited data |
Green stage | First stage in a multiple-stage preview |
Red stage | Last stage in a multiple-stage preview |
Previewing a Single Stage
You can preview data for a single stage. In the Preview panel, you can review the values for each record to determine if the stage transforms data as expected.
Previewing Multiple Stages
You can preview data for a group of linked stages within a pipeline.
When you preview multiple stages, you select the first stage and the last stage in the group. The Preview panel then displays the output data of the first stage in the group and the input data of the last stage in the group.
In the Preview panel, you can review the values for each record to determine if the group of stages transforms data as expected.
Editing Preview Data
You can edit preview data to view how a stage or group of stages processes the changed data. Edit preview data to test for data conditions that might not appear in the preview data set.
For example, when the stage filters integer data based on an expression, you might change the input data to test positive and negative integer values, as well as zero.
- The output data column for an origin.
- The input data column for processors.
When you edit preview data, you can pass the changed data through the pipeline, or you can revert your changes to return to the original data.
Editing Properties
In data preview, you can edit stage properties to see how the changes affect preview data. For example, you might edit the expression in an Expression Evaluator to see how the expression alters data.
When you edit properties, you can test the change with the existing preview data or you can refresh the preview data.