Method
exportFeatureGroupVersionToFileConnector POST
Copy POST

Export Feature group to File Connector.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes featureGroupVersion str Unique string identifier for the feature group instance to export.
Yes location str Cloud file location to export to.
Yes exportFileFormat str Enum string specifying the file format to export to.
No overwrite bool If true and a file exists at this location, this process will overwrite the file.
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
result FeatureGroupExport
KEY TYPE Description
featureGroupExportId str Unique identifier for this export.
failedWrites int Number of failed writes.
totalWrites int Total number of writes.
featureGroupVersion str Version of the feature group being exported.
connectorType str The type of connector
outputLocation str File Connector location the feature group is being written to.
fileFormat str File format being written to `output_location`.
databaseConnectorId str Database connector ID used.
objectName str Database connector's object to write to.
writeMode str `UPSERT` or `INSERT` for writing to the database connector.
databaseFeatureMapping dict Column/feature pairs mapping the features to the database columns.
idColumn str ID column to use as the upsert key.
status str Current status of the export.
createdAt str Timestamp at which the export was created (ISO-8601 format).
exportCompletedAt str Timestamp at which the export completed (ISO-8601 format).
additionalIdColumns List[str] For database connectors which support it, additional ID columns to use as a complex key for upserting.
error str If `status` is `FAILED`, this field will be populated with an error.
databaseOutputError bool If `True`, there were errors reported by the database connector while writing.
projectConfig ProjectConfig Project config for this feature group.
KEY TYPE Description
type str Type of project config
config ProjectFeatureGroupConfig Project-specific config for this feature group
KEY TYPE Description
type None None

Exceptions:

TYPE WHEN
InvalidEnumParameterError

An invalid value is passed for exportFileFormat.

Language: