Skip to content

Fails to create table on Android #459

@vlovich

Description

@vlovich

Describe the bug
I'm using lancedb and trying to run it on Android. Hard link creation seems to be not allowed?

Here's a log I introduce:

failed create hard link path="/data/data/io.openinfer.chat/openinfer.io/vector-dbs/research/research_response.lance/_versions/1.manifest" staging_path="/data/data/io.openinfer.chat/openinfer.io/vector-dbs/research/research_response.lance/_versions/1.manifest#1" source=Os { code: 13, kind: PermissionDenied, message: "Permission denied" }

To Reproduce

  • Create an empty lancedb table

Expected behavior
Table creates

Additional context
I understand that lancedb isn't this project but the crash is coming from here in src/local.rs when using PutMode::Create. Hard linking doesn't work on Android:

https://code.google.com/archive/p/android-developer-preview/issues/3150

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions