Skip to content

Attempting to query a table which is not ready can fail with 'no index found for query fields' #2

@autopulated

Description

@autopulated

Querying should wait for the table to be ready, but readiness is not checked by queryMany() until after the query has been converted, which is too late, resulting in an error like: Error: Unsupported query: \"{ .... }\". No index found for query fields [....], as the list of indexes is not yet available.

The query* api functions need to wait for the table to be ready before calling #convertQuery (and then the check in #rawQueryProjectedBatchIterator can be removed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions