Method
setDeploymentFeatureGroupExportDatabaseConnectorOutput POST
Copy POST

Sets the export output for the Feature Group Deployment to a Database connector.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentId str The ID of the deployment for which the export type is set.
Yes databaseConnectorId str The unique string identifier of the database connector used.
Yes objectName str The object of the database connector to write to.
Yes writeMode str The write mode to use when writing to the database connector, either UPSERT or INSERT.
Yes databaseFeatureMapping dict The column/feature pairs mapping the features to the database columns.
No idColumn str The id column to use as the upsert key.
No additionalIdColumns list For database connectors which support it, a list of additional ID columns to use as a complex key for upserting.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

DataNotFoundError

databaseConnectorId is not found.

DataNotFoundError

additionalIdColumns is not found.

InvalidEnumParameterError

An invalid value is passed for writeMode.

Language: