-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
On python 3.8 the query for 'between' in a table CANCEL TASK.... #222
Comments
Now, working for debugging. This works (using secondary index COUNTER), with py3.6 and py3.8:
|
Not using 'between', using 'filter'. Works fine on Python 3.8, the query for datetime
|
Now, I think, comparing. Between is better than filter for real time. Filter read all the table every time. I opened the diccionary of options, and it's working ok.
|
And then. Beyond using only 1 connection. When I active more, in somewhat one or other is broken. The 'Task cancelled' error. |
Ok. Now i'm reading the code. https://docs.python.org/3/library/asyncio-stream.html#asyncio.StreamWriter For example, to write (do a query)
Or to close:
Working with sockets is very very tricky :) |
I am experiencing the same bug, it's pretty annoying. |
Describe the bug
In a table with extra INDEXES, I have a DT_GEN and COUNT (date and int), tested.
The between query as shows on documentation:
On (https://gitlab.com/pineiden/datadbs-rethinkdb/-/blob/master/data_rdb/rdb.py) line 316 and so on
To Reproduce
Mount Rethinkdb 2.4.1
Install Python 3.8
Create a virtualenv
To install dependences and then install from repo:
Now clone from:
https://gitlab.com/pineiden/datadbs-rethinkdb
and
On folder tests
run
And
Those scripts load with dummy data on a table and read that on real time.
Expected behavior
Get the data from the table
Screenshots
https://gitlab.com/-/snippets/2005380
Additional context
Add any other context about the problem here.
Well, the core of the query (only with the Rethinkdb module) and Python 3.6.9:
The text was updated successfully, but these errors were encountered: