PragmaTwice commented on code in PR #3164:
URL: https://github.com/apache/kvrocks/pull/3164#discussion_r2328580817


##########
src/types/redis_timeseries.h:
##########
@@ -173,6 +174,25 @@ struct TSRangeOption {
   BucketTimestampType bucket_timestamp_type = BucketTimestampType::Start;
 };
 
+struct TSMGetOption {
+  struct FilterOption {
+    std::unordered_map<std::string, std::set<std::string>> labels_equals;
+    std::unordered_map<std::string, std::set<std::string>> labels_not_equals;
+    std::set<std::string> labels_exists;
+    std::set<std::string> labels_not_exists;

Review Comment:
   Could labels_equals {"label", empty set} represent labels_not_exists 
"label"? So that we can use just two fields for the filter.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to