Skip to content

Unable to select ALL records from a space without specifying iterator. #86

@amdei

Description

@amdei

In order to select all records from space I do:

tnt = tarantool.connect("localhost", 3322)
sp = tnt.space('lalala') # lalala - space name
n_list = sp.select(index=0, iterator=ITERATOR_ALL)

and it works.

At the same time, none of the following two lines works:

n_list = sp.select()
n_list = sp.select(index=0)

results in:

tarantool.error.DatabaseError: (19, 'Invalid key part count in an exact match (expected 1, got 0)')

According to dev team last two cases is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions