-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
CAE-193: add "IGNORE" options to time series commands (for v5 branch) #2753
base: v5
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,18 @@ import { | |
Timestamp | ||
} from '.'; | ||
|
||
export interface TsIgnoreOptions { | ||
MAX_TIME_DIFF: number; | ||
MAX_VAL_DIFF: number; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is "IGNORE no values" supported? (RedisTimeSeries/RedisTimeSeries#1543) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doesn't seem like it, from code
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So if not, why There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I made the optional to not requiring a user to set them to 0, if left off, treated as 0. can require them and simplify the code. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we want to require the user to specify them as 0, I'm good with that as well There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the server does not have defaults we shouldn't as well.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, pushed and done. |
||
} | ||
|
||
export interface TsAddOptions { | ||
RETENTION?: number; | ||
ENCODING?: TimeSeriesEncoding; | ||
CHUNK_SIZE?: number; | ||
ON_DUPLICATE?: TimeSeriesDuplicatePolicies; | ||
LABELS?: Labels; | ||
IGNORE?: TsIgnoreOptions; | ||
} | ||
|
||
export default { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "IGNORE no values" supported? (RedisTimeSeries/RedisTimeSeries#1543)
If it is - add support for
IGNORE: true
for this caseThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see what I wrote below