For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

defineTransformation

API reference for defineTransformation: parameters, properties, and return types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Defines a SQL transformation and its output settings.

import { defineTransformation } from '@rippling/rippling-sdk';

Properties​

PropertyRequiredTypeDescription
apiNameRequiredstring—
categoryRequired`${string}__c` | Category—
friendlyNameRequiredstring—
materializationTypeRequiredTransformationMaterializationType—
nameRequiredstring—
queryRequiredstring—
queryDialectRequired"TRINO_SQL"—
refreshOverwritePolicyRequiredTransformationRefreshOverwritePolicy—
sourceFqfnRequiredstring

Source catalog identity used by the backend when rewriting packaged SQL.

columnDescriptionsOptionalReadonly<Record<string, string>>—
customObjectApiNameOptionalnull | string—
descriptionOptionalnull | string—
primaryKeyColumnsOptionalreadonly string[]—
upstreamTablesOptionalreadonly TransformationUpstreamTable[]—
userDefinedDisplayTypesOptionalReadonly<Record<string, string>>—

Complete options type

TypeScript signature
defineTransformation(props: DefineTransformationProps): DefinedTransformation;

Returns​

DefinedTransformation

Availability​

CapabilitySupport
Pull into a projectSupported
Runtime operationsNot available for this helper