Defines a SQL transformation and its output settings.
import { defineTransformation } from '@rippling/rippling-sdk';
Properties
| Property | Required | Type | Description |
|---|---|---|---|
apiName | Required | string | — |
category | Required | `${string}__c` | Category | — |
friendlyName | Required | string | — |
materializationType | Required | TransformationMaterializationType | — |
name | Required | string | — |
query | Required | string | — |
queryDialect | Required | "TRINO_SQL" | — |
refreshOverwritePolicy | Required | TransformationRefreshOverwritePolicy | — |
sourceFqfn | Required | string | Source catalog identity used by the backend when rewriting packaged SQL. |
columnDescriptions | Optional | Readonly<Record<string, string>> | — |
customObjectApiName | Optional | null | string | — |
description | Optional | null | string | — |
primaryKeyColumns | Optional | readonly string[] | — |
upstreamTables | Optional | readonly TransformationUpstreamTable[] | — |
userDefinedDisplayTypes | Optional | Readonly<Record<string, string>> | — |
TypeScript signature
defineTransformation(props: DefineTransformationProps): DefinedTransformation;
Returns
DefinedTransformation
Availability
| Capability | Support |
|---|---|
| Pull into a project | Supported |
| Runtime operations | Not available for this helper |