Error: ClientError: An error occurred (ValidationException) when calling the CreateFeatureGroup operation: Validation
Error: OnlineStore and OfflineStore cannot be both disabled. Please enable at least one of them and retry the
request.
Issue is that while creating a feature group, it's not taking the online_store_config parameter into consideration. When I just set the enable_store_config to True it gives ValidationException.
When I provide both OnlineStore and OfflineStore, the feature store gets created but the type is only offline mode showing it's not taking OnlineStore configuration into consideration.
Example code when providing both OnlineStore and OfflineStore.
from sagemaker_core.shapes import OnlineStoreConfig,OfflineStoreConfig,S3StorageConfig
from sagemaker_core.resources import FeatureGroup
from sagemaker_core.shapes import OnlineStoreConfig,OfflineStoreConfig,S3StorageConfig from sagemaker_core.resources import FeatureGroup
Error: ClientError: An error occurred (ValidationException) when calling the CreateFeatureGroup operation: Validation Error: OnlineStore and OfflineStore cannot be both disabled. Please enable at least one of them and retry the request.
Issue is that while creating a feature group, it's not taking the online_store_config parameter into consideration. When I just set the enable_store_config to True it gives ValidationException.
When I provide both OnlineStore and OfflineStore, the feature store gets created but the type is only offline mode showing it's not taking OnlineStore configuration into consideration.
Example code when providing both OnlineStore and OfflineStore.
from sagemaker_core.shapes import OnlineStoreConfig,OfflineStoreConfig,S3StorageConfig from sagemaker_core.resources import FeatureGroup