abhishekrb19 commented on code in PR #15015:
URL: https://github.com/apache/druid/pull/15015#discussion_r1330981137
##########
server/src/main/java/org/apache/druid/server/coordinator/rules/Rules.java:
##########
@@ -19,12 +19,15 @@
package org.apache.druid.server.coordinator.rules;
+import org.apache.druid.java.util.common.DateTimes;
import org.joda.time.DateTime;
import org.joda.time.Interval;
import org.joda.time.Period;
public class Rules
{
+ public static final Interval FOREVER_INTERVAL = new
Interval(DateTimes.utc(Long.MIN_VALUE), DateTimes.utc(Long.MAX_VALUE));
+
public static boolean eligibleForLoad(Interval src, Interval target)
Review Comment:
hmm, perhaps, but I'm not very clear what that would look like. I wanted to
scope it down to API validation, so we can revisit this in a separate change if
needed.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]