mirror of https://github.com/apache/druid.git
fix TimeBoundaryQuery to properly handle timestamps prior to 1970
This commit is contained in:
parent
09a31e5995
commit
7d2778fae6
|
@ -42,7 +42,7 @@ import java.util.Map;
|
|||
*/
|
||||
public class TimeBoundaryQuery extends BaseQuery<Result<TimeBoundaryResultValue>>
|
||||
{
|
||||
public static final Interval MY_Y2K_INTERVAL = new Interval(new DateTime(0), new DateTime("3000-01-01"));
|
||||
public static final Interval MY_Y2K_INTERVAL = new Interval(new DateTime(Long.MIN_VALUE), new DateTime(Long.MAX_VALUE));
|
||||
public static final String MAX_TIME = "maxTime";
|
||||
public static final String MIN_TIME = "minTime";
|
||||
private static final byte CACHE_TYPE_ID = 0x0;
|
||||
|
|
Loading…
Reference in New Issue