Fields
When you add a table to an extraction, all its source fields are included by default. You can refine your configuration by selecting only the fields you need. Removing fields can improve synchronization speed and reduce storage requirements in the destination.
By default, every added table includes all fields from the source. To refresh the field list, select Refresh in the upper-right corner of the page.
To preview and filter data for a specific field, enable Data Preview when viewing a table. Select a field in the list and choose the magnifier icon in the upper-right corner.
Column overview
| Column | Descrciption |
|---|---|
| Field Source | Displays the source field name from the connected data source. |
| Field Destination | Displays the destination field name. To change it, select the cell and enter a new name. The name cannot match an existing field in the destination table or one not created by the DataSync module. Fields used by an index cannot be renamed. |
| Type Source | Shows the data type of the field in the source table. |
| Type Destination | Shows the destination field data type. To change it, select a new value from the drop‑down list. |
| Sync | Indicates fields synced between the source and destination. Clear the checkbox to remove a field from synchronization. Removing a field also removes it from any index; if no fields remain, the index is deleted. |
| Unique Key | Identifies fields used as unique keys. DataSync selects these automatically if provided by the source. Indexes must include all unique keys or Validate and Build fails. |
| Track Key | Displays the tracking key field used in incremental loads. The tracking key depends on the tracking type chosen when creating the source connection. See Connections for more details. |
| Indexes | Shows indexes linked to the field. Select the link to view or edit them. |
| Transform | Indicates if a transformation is applied to the field. Select the pencil icon to choose an existing transformation or the magic wand icon to create one. See Transformations for more details. |
Edit a field
- From the welcome screen or left navigation pane, select Extractions.
- Select an extraction from the list.
- Click the link under the Tables column.
- Select a table, then click the link under the Fields column.
- Edit any field columns as needed.
- Click Save.
Add a calculated field
- In the Fields page of a table, click Add.
- Enter a destination field name and a description.
- In Destination Field Type, choose the output data type from the dropdown list.
- In Calculation Expression, enter your SQL statement. You can use variables.
- Click Save.
Do a mouse over on the tooltip to see the whole calculation, Click on the Calcul hyperlink in the Field Source column to change the calculation any time.
Example
To calculate the total amount from five fields, choose Decimal as the output type with a precision of 25 and a scale of 5.
TAMOUNT1 + TAMOUNT2 + TAMOUNT3 + TAMOUNT4 + TAMOUNT5