From d260515a4346f656e5ad242da906053f181fb76d Mon Sep 17 00:00:00 2001 From: fjy Date: Fri, 17 Apr 2015 14:21:33 -0700 Subject: [PATCH] update druid-api version --- .../io/druid/indexing/common/task/IndexTaskTest.java | 9 ++++++--- .../firehose/IngestSegmentFirehoseFactoryTest.java | 4 ++-- pom.xml | 2 +- .../io/druid/data/input/ProtoBufInputRowParserTest.java | 2 +- processing/src/test/java/io/druid/segment/TestIndex.java | 2 +- .../java/io/druid/segment/indexing/DataSchemaTest.java | 4 ++-- .../io/druid/segment/realtime/FireDepartmentTest.java | 3 ++- .../realtime/plumber/RealtimePlumberSchoolTest.java | 2 +- 8 files changed, 16 insertions(+), 12 deletions(-) diff --git a/indexing-service/src/test/java/io/druid/indexing/common/task/IndexTaskTest.java b/indexing-service/src/test/java/io/druid/indexing/common/task/IndexTaskTest.java index 1b08b133205..7d33496087e 100644 --- a/indexing-service/src/test/java/io/druid/indexing/common/task/IndexTaskTest.java +++ b/indexing-service/src/test/java/io/druid/indexing/common/task/IndexTaskTest.java @@ -81,7 +81,8 @@ public class IndexTaskTest new CSVParseSpec( new TimestampSpec( "ts", - "auto" + "auto", + null ), new DimensionsSpec( Arrays.asList("ts"), @@ -147,7 +148,8 @@ public class IndexTaskTest new CSVParseSpec( new TimestampSpec( "ts", - "auto" + "auto", + null ), new DimensionsSpec( Arrays.asList("ts"), @@ -254,7 +256,8 @@ public class IndexTaskTest new CSVParseSpec( new TimestampSpec( "ts", - "auto" + "auto", + null ), new DimensionsSpec( Arrays.asList("dim"), diff --git a/indexing-service/src/test/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactoryTest.java b/indexing-service/src/test/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactoryTest.java index 0aa1a4ca228..7bb22af7fc3 100644 --- a/indexing-service/src/test/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactoryTest.java +++ b/indexing-service/src/test/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactoryTest.java @@ -283,7 +283,7 @@ public class IngestSegmentFirehoseFactoryTest ROW_PARSER, new MapInputRowParser( new JSONParseSpec( - new TimestampSpec(TIME_COLUMN, "auto"), + new TimestampSpec(TIME_COLUMN, "auto", null), new DimensionsSpec( ImmutableList.of(), ImmutableList.of(DIM_FLOAT_NAME, DIM_LONG_NAME), @@ -366,7 +366,7 @@ public class IngestSegmentFirehoseFactoryTest private static final InputRowParser> ROW_PARSER = new MapInputRowParser( new JSONParseSpec( - new TimestampSpec(TIME_COLUMN, "auto"), + new TimestampSpec(TIME_COLUMN, "auto", null), new DimensionsSpec( ImmutableList.of(DIM_NAME), ImmutableList.of(DIM_FLOAT_NAME, DIM_LONG_NAME), diff --git a/pom.xml b/pom.xml index b59389f5c1b..535610bea13 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ 0.27.0 2.7.0 9.2.5.v20141112 - 0.3.6 + 0.3.7 2.4.4 2.2 1.7.10 diff --git a/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java b/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java index 69b3be6607f..cf25bd2c737 100644 --- a/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java +++ b/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java @@ -56,7 +56,7 @@ public class ProtoBufInputRowParserTest //configure parser with desc file ProtoBufInputRowParser parser = new ProtoBufInputRowParser( new JSONParseSpec( - new TimestampSpec("timestamp", "iso"), + new TimestampSpec("timestamp", "iso", null), new DimensionsSpec(Arrays.asList(DIMENSIONS), Arrays.asList(), null) ), "prototest.desc" diff --git a/processing/src/test/java/io/druid/segment/TestIndex.java b/processing/src/test/java/io/druid/segment/TestIndex.java index 60bbad566a5..937b54729e1 100644 --- a/processing/src/test/java/io/druid/segment/TestIndex.java +++ b/processing/src/test/java/io/druid/segment/TestIndex.java @@ -195,7 +195,7 @@ public class TestIndex { StringInputRowParser parser = new StringInputRowParser( new DelimitedParseSpec( - new TimestampSpec("ts", "iso"), + new TimestampSpec("ts", "iso", null), new DimensionsSpec(Arrays.asList(DIMENSIONS), null, null), "\t", "\u0001", diff --git a/server/src/test/java/io/druid/segment/indexing/DataSchemaTest.java b/server/src/test/java/io/druid/segment/indexing/DataSchemaTest.java index af1a89bb72a..99e24b40bb7 100644 --- a/server/src/test/java/io/druid/segment/indexing/DataSchemaTest.java +++ b/server/src/test/java/io/druid/segment/indexing/DataSchemaTest.java @@ -40,7 +40,7 @@ public class DataSchemaTest "test", new StringInputRowParser( new JSONParseSpec( - new TimestampSpec("time", "auto"), + new TimestampSpec("time", "auto", null), new DimensionsSpec(ImmutableList.of("dimB", "dimA"), null, null) ) ), @@ -64,7 +64,7 @@ public class DataSchemaTest "test", new StringInputRowParser( new JSONParseSpec( - new TimestampSpec("time", "auto"), + new TimestampSpec("time", "auto", null), new DimensionsSpec(ImmutableList.of("time", "dimA", "dimB", "col2"), ImmutableList.of("dimC"), null) ) ), diff --git a/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java b/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java index e2cad93f9eb..7a39c6c21e1 100644 --- a/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java +++ b/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java @@ -53,7 +53,8 @@ public class FireDepartmentTest new JSONParseSpec( new TimestampSpec( "timestamp", - "auto" + "auto", + null ), new DimensionsSpec( Arrays.asList("dim1", "dim2"), diff --git a/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java b/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java index 7c1a845bb50..c8a74247042 100644 --- a/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java +++ b/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java @@ -120,7 +120,7 @@ public class RealtimePlumberSchoolTest public ParseSpec getParseSpec() { return new JSONParseSpec( - new TimestampSpec("timestamp", "auto"), + new TimestampSpec("timestamp", "auto", null), new DimensionsSpec(null, null, null) ); }