Skip to content

new feature: write-if-not-exists for fs backend #5606

@SergeiPatiakin

Description

@SergeiPatiakin

Feature Description

Support the write_if_not_exists capability for the fs backend. This should be easy by opening the file with the O_EXCL POSIX flag

Problem and Solution

Some DAL clients rely on write-if-not-exists as a concurrency mechanism in the presence of multiple writers. One example is Iceberg clients using File System Tables: https://iceberg.apache.org/spec/#file-system-tables .

This feature would allow such clients to work with the fs backend.

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions