Skip to content

Conversation

@u-sheikh
Copy link

@u-sheikh u-sheikh commented Dec 28, 2025

S3 URL Style Configuration for DuckDB Offline Store
The Problem

When using DuckDB as an offline store with S3-compatible storage systems (like MinIO, LocalStack, or other self-hosted S3 alternatives), authentication failures occur because these systems require a different URL addressing style than AWS S3.

AWS S3 uses two URL styles:

Virtual-hosted style (default): https://bucket-name.s3.region.amazonaws.com/key
Path style: https://s3.region.amazonaws.com/bucket-name/key

S3-compatible providers like MinIO and LocalStack require path-style URLs, but Feast's DuckDB integration didn't expose this configuration option.
The Solution

This feature adds a new s3_url_style configuration parameter that can be set to "path" to enable path-style URL formatting when communicating with S3-compatible storage.

#5597

@u-sheikh u-sheikh requested a review from a team as a code owner December 28, 2025 15:46
@u-sheikh u-sheikh changed the title Added: s3_url_style configuration for DuckDB offline store Added: s3_url_style configuration for DuckDB offline store #5597 Dec 28, 2025
@HaoXuAI
Copy link
Collaborator

HaoXuAI commented Dec 30, 2025

It looks like you tried to use newer version of proto lib to generate protos. please try to use the same version. other than that it looks good

@u-sheikh u-sheikh force-pushed the claude/add-robust-feature-EAOTc branch from cecef98 to b051bdd Compare December 30, 2025 21:06
This adds support for configuring S3 URL style (path vs vhost) for
DuckDB offline store when working with S3-compatible storage systems
like MinIO or LocalStack that require path-style URLs.

Changes:
- Add s3_url_style field to FileOptions proto message
- Add s3_url_style to FileDestination proto message
- Add staging_location_s3_url_style to DuckDBOfflineStoreConfig
- Add s3_url_style parameter to FileSource, FileOptions,
  SavedDatasetFileStorage, and FileLoggingDestination
- Create _build_s3_storage_options helper function for consistent
  storage options handling
- Update IbisRetrievalJob to support s3_url_style for remote storage
- Update test data source creators to use path-style URLs

Fixes feast-dev#5597

Signed-off-by: Claude <noreply@anthropic.com>
@u-sheikh u-sheikh force-pushed the claude/add-robust-feature-EAOTc branch from d6e004f to f2ca4bd Compare January 1, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants