-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
component: feature storeRelates to the SageMaker Feature Store PlatformRelates to the SageMaker Feature Store Platformtype: bug
Description
Describe the bug
When ingesting a DataFrame to a FeatureGroup, there is no way to set the profile_name in the Boto3 Session used by IngestionManagerPandas workers/threads. This prevents utilizing anything but default credentials when ingesting to a FeatureGroup using this class.
To reproduce
- Ensure "default" creds profile does not have access to write to FeatureGroup
- Ensure "<profile_name>" creds profile does have access to write to FeatureGroup
- Set a profile_name on boto3 using boto3.setup_default_session(profile_name=<profile_name>)
- Attempt to ingest a dataframe to a FeatureGroup using .ingest()
- Ingest will fail because "default" creds do not have access, and "<profile_name>" creds will not be used in the workers
Expected behavior
Worker Boto3 sessions should be initialized with a profile name which matches boto3.DEFAULT_SESSION.profile_name.
System information
A description of your system. Please provide:
- SageMaker 2.38.0
Additional context
Use of default credentials is not an option in this context.
Metadata
Metadata
Assignees
Labels
component: feature storeRelates to the SageMaker Feature Store PlatformRelates to the SageMaker Feature Store Platformtype: bug