Skip to content

[GLib][Ruby] Make underlying calls to FileSystemFromUri() on gs/gcs filesystems work #55284

Open

Description

@raulcd

Describe the enhancement requested

On the following PR we moved GCS to its own shared library:

Ruby bindings are currently not linking libarrow_gcs.so nor registering the filesystem with LoadFileSystemFactories. This issue is to track making underlying calls to FileSystemFromUri() on gs/gcs filesystems work.

This spawns from these comments:

Component(s)

GLib, Ruby

Activity

  1. changed the title [-][CGLib][Ruby] Make underlying calls to `FileSystemFromUri()` on `gs`/`gcs` filesystems work[/-] [+][GLib][CGLib][Ruby] Make underlying calls to `FileSystemFromUri()` on `gs`/`gcs` filesystems work[/+] on Oct 27, 2026
  2. changed the title [-][GLib][CGLib][Ruby] Make underlying calls to `FileSystemFromUri()` on `gs`/`gcs` filesystems work[/-] [+][GLib][Ruby] Make underlying calls to `FileSystemFromUri()` on `gs`/`gcs` filesystems work[/+] on Oct 27, 2026
  3. Code-ve commented on Oct 29, 2026

    @Code-ve

    Hello @raulcd, I'd be happy to work on this problem.

    Based on the issue description and the changes made in #54905, my impression is that moving GCS functionality into the standalone libarrow_gcs.so library might have created a situation where the Ruby bindings lack the proper linking or filesystem factories registration. This could lead to failed resolution of GCS filesystems for FileSystemFromUri() with gs:// or gcs:// URIs.

    It would be good for me to find out how the Ruby bindings link to Arrow and Arrow GLib libraries, what loading mechanism of filesystem factories is used, and what changes are needed to allow the Ruby bindings support GCS the same way as in the new library configuration. I would also need to add some regression tests for both schemes in order to make sure about the proper behavior while making these tests independent from real cloud credentials as much as possible.

    Would it be alright for me to tackle this issue? Are there some implementation or testing specifics I should consider before getting started?

  4. raulcd commented on Oct 29, 2026

    @raulcd
    MemberAuthor

    Hi @Code-ve thanks for the interest on this issue. As this would be your first contribution to the project and this one requires quite a lot of knowledge about our Ruby binding internals I'd rather prefer for a current Ruby bindings maintainers to follow up instead of heavily relying on AI tools in order to work on it. Thanks.
    pinging @kou as the main Ruby bindings maintainer as I think he wanted to work on this himself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions