Skip to content

[GLUTEN-12022][VL] Extend S3 filesystem registration in Gluten#12026

Open
ReemaAlzaid wants to merge 4 commits intoapache:mainfrom
ReemaAlzaid:gluten-s3-filesystem-registration
Open

[GLUTEN-12022][VL] Extend S3 filesystem registration in Gluten#12026
ReemaAlzaid wants to merge 4 commits intoapache:mainfrom
ReemaAlzaid:gluten-s3-filesystem-registration

Conversation

@ReemaAlzaid
Copy link
Copy Markdown
Contributor

@ReemaAlzaid ReemaAlzaid commented May 3, 2026

What changes were proposed in this pull request?

#12022
This PR adds a Gluten S3 filesystem registration path for the Velox backend

It introduces GlutenS3FileSystem, which extends Velox's S3FileSystem, and registers it from VeloxBackend when Gluten is built with S3 support. The current implementation preserves the existing Velox S3 behavior by delegating writes to Velox's S3 filesystem.

Why are the changes needed?

Gluten currently registers Velox's S3 filesystem directly. That makes it hard to customize, debug, or extend S3 behavior from Gluten without changing Velox side registration.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

  • Built the focused C++ test target:
    cmake --build cpp/build --target gluten_s3_file_system_test -j 12

  • Ran the new C++ test:
    cpp/build/velox/tests/gluten_s3_file_system_test --gtest_filter=GlutenS3FileSystemTest.registeredFileSystemUsesGlutenSubclass

  • Manually verified with Spark 4.0.1 and S3A that Gluten registers the custom S3 filesystem, native Parquet write uses the Gluten S3 write path, S3 files are committed successfully, and the Velox S3 read plan is generated.

@ReemaAlzaid ReemaAlzaid marked this pull request as ready for review May 4, 2026 15:29
@philo-he philo-he changed the title [VL] Extend S3 filesystem registration in Gluten [GLUTEN-12022][VL] Extend S3 filesystem registration in Gluten May 4, 2026
@philo-he philo-he self-requested a review May 4, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant