Skip to content

/AWS1/CL_SGMOFFLINESTORECONFIG

The configuration of an OfflineStore.

Provide an OfflineStoreConfig in a request to CreateFeatureGroup to create an OfflineStore.

To encrypt an OfflineStore using at rest data encryption, specify Amazon Web Services Key Management Service (KMS) key ID, or KMSKeyId, in S3StorageConfig.

CONSTRUCTOR

IMPORTING

Required arguments:

io_s3storageconfig TYPE REF TO /AWS1/CL_SGMS3STORAGECONFIG /AWS1/CL_SGMS3STORAGECONFIG

The Amazon Simple Storage (Amazon S3) location of OfflineStore.

Optional arguments:

iv_disablegluetablecreation TYPE /AWS1/SGMBOOLEAN /AWS1/SGMBOOLEAN

Set to True to disable the automatic creation of an Amazon Web Services Glue table when configuring an OfflineStore. If set to True and DataCatalogConfig is provided, Feature Store associates the provided catalog configuration with the feature group without creating a table. In this case, you are responsible for creating and managing the Glue table. If set to True without DataCatalogConfig, no Glue table is created or associated with the feature group. The Iceberg table format is only supported when this is set to False.

If set to False and DataCatalogConfig is provided, Feature Store creates the table using the specified names. If set to False without DataCatalogConfig, Feature Store auto-generates the table name following Athena's naming recommendations. This applies to both Glue and Apache Iceberg table formats.

The default value is False.

io_datacatalogconfig TYPE REF TO /AWS1/CL_SGMDATACATALOGCONFIG /AWS1/CL_SGMDATACATALOGCONFIG

The meta data of the Glue table for the OfflineStore. If not provided, Feature Store auto-generates the table name, database, and catalog when the OfflineStore is created. You can optionally provide this configuration to specify custom values. This applies to both Glue and Apache Iceberg table formats.

iv_tableformat TYPE /AWS1/SGMTABLEFORMAT /AWS1/SGMTABLEFORMAT

Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg.


Queryable Attributes

S3StorageConfig

The Amazon Simple Storage (Amazon S3) location of OfflineStore.

Accessible with the following methods

Method Description
GET_S3STORAGECONFIG() Getter for S3STORAGECONFIG

DisableGlueTableCreation

Set to True to disable the automatic creation of an Amazon Web Services Glue table when configuring an OfflineStore. If set to True and DataCatalogConfig is provided, Feature Store associates the provided catalog configuration with the feature group without creating a table. In this case, you are responsible for creating and managing the Glue table. If set to True without DataCatalogConfig, no Glue table is created or associated with the feature group. The Iceberg table format is only supported when this is set to False.

If set to False and DataCatalogConfig is provided, Feature Store creates the table using the specified names. If set to False without DataCatalogConfig, Feature Store auto-generates the table name following Athena's naming recommendations. This applies to both Glue and Apache Iceberg table formats.

The default value is False.

Accessible with the following methods

Method Description
GET_DISABLEGLUETABLECREATION() Getter for DISABLEGLUETABLECREATION, with configurable defau
ASK_DISABLEGLUETABLECREATION() Getter for DISABLEGLUETABLECREATION w/ exceptions if field h
HAS_DISABLEGLUETABLECREATION() Determine if DISABLEGLUETABLECREATION has a value

DataCatalogConfig

The meta data of the Glue table for the OfflineStore. If not provided, Feature Store auto-generates the table name, database, and catalog when the OfflineStore is created. You can optionally provide this configuration to specify custom values. This applies to both Glue and Apache Iceberg table formats.

Accessible with the following methods

Method Description
GET_DATACATALOGCONFIG() Getter for DATACATALOGCONFIG

TableFormat

Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg.

Accessible with the following methods

Method Description
GET_TABLEFORMAT() Getter for TABLEFORMAT, with configurable default
ASK_TABLEFORMAT() Getter for TABLEFORMAT w/ exceptions if field has no value
HAS_TABLEFORMAT() Determine if TABLEFORMAT has a value