mirror of https://github.com/apache/druid.git
update druid-api version
This commit is contained in:
parent
eb1df425b1
commit
d260515a43
|
@ -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"),
|
||||
|
|
|
@ -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.<String>of(),
|
||||
ImmutableList.of(DIM_FLOAT_NAME, DIM_LONG_NAME),
|
||||
|
@ -366,7 +366,7 @@ public class IngestSegmentFirehoseFactoryTest
|
|||
|
||||
private static final InputRowParser<Map<String, Object>> 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),
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -68,7 +68,7 @@
|
|||
<metamx.java-util.version>0.27.0</metamx.java-util.version>
|
||||
<apache.curator.version>2.7.0</apache.curator.version>
|
||||
<jetty.version>9.2.5.v20141112</jetty.version>
|
||||
<druid.api.version>0.3.6</druid.api.version>
|
||||
<druid.api.version>0.3.7</druid.api.version>
|
||||
<jackson.version>2.4.4</jackson.version>
|
||||
<log4j.version>2.2</log4j.version>
|
||||
<slf4j.version>1.7.10</slf4j.version>
|
||||
|
|
|
@ -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.<String>asList(), null)
|
||||
),
|
||||
"prototest.desc"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
)
|
||||
),
|
||||
|
|
|
@ -53,7 +53,8 @@ public class FireDepartmentTest
|
|||
new JSONParseSpec(
|
||||
new TimestampSpec(
|
||||
"timestamp",
|
||||
"auto"
|
||||
"auto",
|
||||
null
|
||||
),
|
||||
new DimensionsSpec(
|
||||
Arrays.asList("dim1", "dim2"),
|
||||
|
|
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue