-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Milestone
Description
Tarantool 1.7.1-179-g1c01afd
tarantool-python 0.5.4
python: 2.7.12 + 3.5.2
Can't select all records without specifying a key - raises
DatabaseError: (19, 'Invalid key part count in an exact match (expected 1, got 0)')
None of the examples from documentation work.
tnt = Connection("127.0.0.1", 3301)
tnt.select('todo') # 'todo' - space name
c.select('filters', [])
All of the above produce errors
>>> tnt.select("todo")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/tarantool/connection.py", line 659, in select
response = self._send_request(request)
File "/usr/lib/python2.7/site-packages/tarantool/connection.py", line 283, in _send_request
request)
File "/usr/lib/python2.7/site-packages/tarantool/connection.py", line 207, in _send_request_wo_reconnect
response = Response(self, self._read_response())
File "/usr/lib/python2.7/site-packages/tarantool/response.py", line 77, in __init__
raise DatabaseError(self._return_code, self._return_message)
tarantool.error.DatabaseError: (19, 'Invalid key part count in an exact match (expected 1, got 0)')
It looks like this issue like #76
Metadata
Metadata
Assignees
Labels
No labels