-
Notifications
You must be signed in to change notification settings - Fork 12
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
Refactor TimeStamp class to UNIXTimeStamp #27
Comments
Is there currently a proposed solution for this? Personally I think it's a good change to make, I lost quite a bit of time on this issue starting out and I think others might face the same problems. The workaround that I've implemented so far is very basic, but gets the job done. I only work with the
It's worth nothing that currently the range of Unix Ms supported by .NET is larger than the range supported by RedisTimeSeries. For example;
I've logged an issue regarding negative timestamp support at RedisTimeSeries/RedisTimeSeries#434 Regarding the loss of information, if we clearly outline that RedisTimeSeries is accurate to the resolution of 1ms in the documentation I think that's OK, especially if we no longer throw errors when adding samples at or before the current timestamp. Ideally if we insert the same timestamp multiple times we can choose how it changes the value data, like overwrite, add or throw error etc. |
The plan is:
|
Could we call it |
@shaunsales Your help is highly appreciated, thanks. |
@DvirDukhan I've completed a first pass of implementing the new On my TODO list is;
|
@shaunsales please open a PR so we can iterate there |
As a follow up to #20
DateTime should be converted to UNIXTimeStamp so this library API be fully compliant with RedisTimeSeries native operations.
This change will trigger 2.0.x Release
Side effects:
The text was updated successfully, but these errors were encountered: