Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow inspection of current core storage-format version #2526

Open
johnkerl opened this issue May 7, 2024 · 0 comments
Open

Allow inspection of current core storage-format version #2526

johnkerl opened this issue May 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@johnkerl
Copy link
Member

johnkerl commented May 7, 2024

This is not identical to the core version. Note that format version may or may not bump when core bumps a minor.

TileDB-Py snippet:

import tiledb
import numpy as np

schema = tiledb.ArraySchema(
    domain=tiledb.Domain(tiledb.Dim(name="rows", domain=(1, 4), dtype=np.int32)),
    attrs=[tiledb.Attr(name="a", dtype=np.int32)],
    sparse=False,
)

print(schema.version)

We can do similar in tiledbsoma.

@johnkerl johnkerl added the enhancement New feature or request label May 7, 2024
@johnkerl johnkerl changed the title Allow inspection of current core format version Allow inspection of current core storage-format version May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant