-
Notifications
You must be signed in to change notification settings - Fork 99
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
Reading an empty series leads to a crash when as_of parameter is used #940
Comments
Also note that reads without the |
User reports that if a empty series is written to a library using a 4.0 client, exception PR maybe related: #804 |
I cannot reproduce the crash:
yet I get the behavior of #940 (comment). |
In #804, we chose to have ArcticDB store empty columns under a dedicated To me, we need to finish the discussions of #224 first. |
Some clarification on reproducing the bug,. |
This is the error message from reading in v4.0.0 the data written in v3.0.0 using the above code
|
Here is a summary of the current behaviour
|
Confirmed with the app owners who raised the issue that the app is doing a read of an empty dataframe with an as_of on the first run after an upgrade to v4.0.0, which fits this repro case closely. Also the error message is exactly the same. |
… api methods (#989) #### Reference Issues/PRs Fixes #744 #### What does this implement or fix? Add new tests and extend already existing ones to test against the persistent storages There is some commented code, that needs to be uncommented once there is a fix for issue #940 --------- Co-authored-by: Georgi Petrov <[email protected]>
I have some tests that address this issue as part of issue #744 which are commented out at the moment.
ArcticDB/python/tests/util/storage_test.py Line 106 in c5b0c57
|
This issue is an edge case of #987. |
Signed-off-by: Julien Jerphanion <[email protected]>
… api methods (#989) #### Reference Issues/PRs Fixes #744 #### What does this implement or fix? Add new tests and extend already existing ones to test against the persistent storages There is some commented code, that needs to be uncommented once there is a fix for issue #940 --------- Co-authored-by: Georgi Petrov <[email protected]>
Describe the bug
When using the as_of parameter in reads, if the return data is an empty series, this leads to a crash.
The problem seems to reproduce only on 4.0.0 and only when as_of is used.
See full repro below
Steps/Code to Reproduce
Expected Results
The read operation should return an empty series.
On 3.0.0, the type of the series is: Series([], dtype: datetime64[ns])
OS, Python Version and ArcticDB Version
ArcticDB: 4.0.0
Backend storage used
Any storage
Additional Context
No response
The text was updated successfully, but these errors were encountered: