mirror of https://github.com/apache/druid.git
remove unused jsonspec content type
This commit is contained in:
parent
8f7f497b55
commit
c25203e140
2
pom.xml
2
pom.xml
|
@ -41,7 +41,7 @@
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<metamx.java-util.version>0.26.9</metamx.java-util.version>
|
<metamx.java-util.version>0.26.9</metamx.java-util.version>
|
||||||
<apache.curator.version>2.6.0</apache.curator.version>
|
<apache.curator.version>2.6.0</apache.curator.version>
|
||||||
<druid.api.version>0.2.12</druid.api.version>
|
<druid.api.version>0.2.13</druid.api.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
|
|
|
@ -69,8 +69,7 @@ public class ProtoBufInputRowParser implements ByteBufferInputRowParser
|
||||||
if (parseSpec == null) {
|
if (parseSpec == null) {
|
||||||
this.parseSpec = new JSONParseSpec(
|
this.parseSpec = new JSONParseSpec(
|
||||||
timestampSpec,
|
timestampSpec,
|
||||||
new DimensionsSpec(dimensions, dimensionExclusions, spatialDimensions),
|
new DimensionsSpec(dimensions, dimensionExclusions, spatialDimensions)
|
||||||
JSONParseSpec.JSON
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
this.parseSpec = parseSpec;
|
this.parseSpec = parseSpec;
|
||||||
|
|
|
@ -59,8 +59,7 @@ public class ProtoBufInputRowParserTest
|
||||||
ProtoBufInputRowParser parser = new ProtoBufInputRowParser(
|
ProtoBufInputRowParser parser = new ProtoBufInputRowParser(
|
||||||
new JSONParseSpec(
|
new JSONParseSpec(
|
||||||
new TimestampSpec("timestamp", "iso"),
|
new TimestampSpec("timestamp", "iso"),
|
||||||
new DimensionsSpec(Arrays.asList(DIMENSIONS), Arrays.<String>asList(), null),
|
new DimensionsSpec(Arrays.asList(DIMENSIONS), Arrays.<String>asList(), null)
|
||||||
JSONParseSpec.JSON
|
|
||||||
),
|
),
|
||||||
"prototest.desc",
|
"prototest.desc",
|
||||||
null, null, null, null
|
null, null, null, null
|
||||||
|
|
|
@ -61,8 +61,7 @@ public class FireDepartmentTest
|
||||||
Arrays.asList("dim1", "dim2"),
|
Arrays.asList("dim1", "dim2"),
|
||||||
null,
|
null,
|
||||||
null
|
null
|
||||||
),
|
)
|
||||||
JSONParseSpec.JSON
|
|
||||||
),
|
),
|
||||||
null, null, null, null
|
null, null, null, null
|
||||||
),
|
),
|
||||||
|
|
|
@ -125,8 +125,7 @@ public class RealtimePlumberSchoolTest
|
||||||
{
|
{
|
||||||
return new JSONParseSpec(
|
return new JSONParseSpec(
|
||||||
new TimestampSpec("timestamp", "auto"),
|
new TimestampSpec("timestamp", "auto"),
|
||||||
new DimensionsSpec(null, null, null),
|
new DimensionsSpec(null, null, null)
|
||||||
JSONParseSpec.JSON
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue