We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the index in any of the staged segments contains pre-epoch dates calling sort_and_finalize_staged_data fails.
sort_and_finalize_staged_data
import pandas as pd import numpy as np import arcticdb as adb ac = adb.Arctic("lmdb://test") lib = ac.get_library("test", create_if_missing=True) df = pd.DataFrame({"b": [0]}, index=pd.DatetimeIndex([pd.Timestamp(1969, 12, 31, 12, 59, 59)])) lib.write(symbol, df, staged=True) lib.sort_and_finalize_staged_data(symbol)
Throws:
InternalException: E_INVALID_ARGUMENT timestamp decreasing, current val=0, candidate=-39601000000000
Work just as append and write store pre-epoch dates.
Python: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] OS: Windows-10-10.0.22631-SP0 ArcticDB: master
No response
The text was updated successfully, but these errors were encountered:
vasil-pashov
Successfully merging a pull request may close this issue.
Describe the bug
When the index in any of the staged segments contains pre-epoch dates calling
sort_and_finalize_staged_data
fails.Steps/Code to Reproduce
Throws:
Expected Results
Work just as append and write store pre-epoch dates.
OS, Python Version and ArcticDB Version
Python: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
OS: Windows-10-10.0.22631-SP0
ArcticDB: master
Backend storage used
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: