Skip to content

TableCollection needs interface for indexes #4

Closed

Description

@jeromekelleher

We should provide access to the indexes in TableCollection, i.e., to the arrays themselves and to the build_indexes and drop_indexes methods.

Activity

  1. jeromekelleher commented on Jun 15, 2018

    @jeromekelleher
    MemberAuthor

    See also #526.

  2. petrelharp commented on Dec 21, 2018

    @petrelharp
    Contributor

    It works!!

  3. hyanwong commented on Aug 19, 2019

    @hyanwong
    Member

    Can this issue be closed? build_indexes and drop_indexes are now in Python, although I can't see anything to access the indexes themselves.

  4. jeromekelleher commented on Aug 19, 2019

    @jeromekelleher
    MemberAuthor

    No, we still want access to the built indexes. The format of these may change slightly when we're doing efficient random access for trees, so I don't want to make trouble for ourselves by providing Python access until this is done.

  5. added this to the Python 0.3.3 milestone on Sep 29, 2020
  6. added
    Python API
    on Sep 29, 2020
  7. added
    enhancement
    on Sep 29, 2020
  8. self-assigned this
    on Oct 20, 2020
  9. benjeffery commented on Oct 20, 2020

    @benjeffery
    Member

    Picking this up now - I see the note above:

    The format of these may change slightly when we're doing efficient random access for trees, so I don't want to make trouble for ourselves by providing Python access until this is done.

    I think we know that the current indexes will suffice for random access if memory serves, so I'll press on with this.

  10. benjeffery commented on Oct 20, 2020

    @benjeffery
    Member

    I also assume this means putting the indexes in to the LWT interface? And that we just need read-access to the indexes as there are no use cases where you would want to edit them?

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

Metadata

Metadata

Assignees

Labels

Python APIenhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions