Skip to main content
Version: v3.4 print this page

Preview published data

What is preview published data?​

The Datasets tab on a workspace details page lets you preview published structured results in ADI without opening Amorphic first. The preview shows up to 1,000 rows of approved values for the schema you select. That includes values written during a run when Auto publish on Approval is enabled, and values a User published later from the Review Queue.

How to open the preview​

  1. Open a workspace from Workspaces.
  2. Go to the Datasets tab.
  3. Select a schema from the schema dropdown.

ADI datasets schema dropdown

Each extraction schema has its own Amorphic output dataset. Choosing a schema loads the preview from that schema’s output dataset (up to 1,000 rows).

ADI datasets preview

Flattened dataset schema​

The output dataset stores extraction results in a flattened column layout. Nested schema items map to column names as follows:

Schema itemExample keyOutput dataset column
Fieldnamename
Group childaddress → cityaddress__city
Group childaddress → pincodeaddress__pincode
Table columnorders → quantityorders__quantity
Table columnorders → amountorders__amount

Fields use their key name directly. Group children and table columns are prefixed with the parent key name and a double underscore separator.

Metadata columns​

In addition to flattened extraction columns, each row includes metadata columns:

ColumnDescription
adi_file_nameADI file name for the published record
adi_parent_file_nameParent file name when the workflow used a Document Splitter
amorphic_file_nameCorresponding file name in the Amorphic input dataset
adi_updated_onWhen the file was written to the output dataset

Open in Amorphic​

Use Open in Amorphic on the Datasets tab to open the selected schema’s output dataset in Amorphic. From there you can query the full dataset, explore all rows, and use Amorphic dataset features beyond the 1,000-row ADI preview.

ADI open in Amorphic

warning

Published ADI results are written directly to the schema output dataset’s Redshift table. They do not appear as files on the Amorphic dataset Files tab. After publish, the record exists only in the underlying Redshift table.

To show those published results as files on the dataset Files tab, run a data pipeline that includes a Sync To S3 Node for the output dataset. The node copies the Redshift data to S3 so the files become visible in the dataset.

  • Review Queue — Approve values and publish to the output dataset
  • Schema — Fields, Groups, and Tables that define output columns
  • Workflow — Auto publish on Approval
  • Workspaces — Workspace details and the Datasets tab
  • Sync To S3 Node — Copy published Redshift rows to S3 so they appear on the dataset Files tab