Method
setFeatureGroupSchema POST
Copy POST

Creates a new schema and points the feature group to the new feature group schema ID.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes featureGroupId str Unique string identifier associated with the feature group.
Yes schema str JSON string containing an array of objects with 'name' and 'dataType' properties.
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

featureGroupId is not found.

InvalidParameterError

The schema is invalid or improperly formatted.

Language: