Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/development/extensions-core/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ The MySQL extension provides an implementation of an [SqlFirehose](../../ingesti

```json
{
"type": "index",
"type": "index_parallel",
"spec": {
"dataSchema": {
"dataSource": "some_datasource",
Expand Down Expand Up @@ -149,7 +149,7 @@ The MySQL extension provides an implementation of an [SqlFirehose](../../ingesti
}
},
"ioConfig": {
"type": "index",
"type": "index_parallel",
"firehose": {
"type": "sql",
"database": {
Expand All @@ -166,7 +166,7 @@ The MySQL extension provides an implementation of an [SqlFirehose](../../ingesti
}
},
"tuningconfig": {
"type": "index"
"type": "index_parallel"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/development/extensions-core/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The PostgreSQL extension provides an implementation of an [SqlFirehose](../../in

```json
{
"type": "index",
"type": "index_parallel",
"spec": {
"dataSchema": {
"dataSource": "some_datasource",
Expand Down Expand Up @@ -128,7 +128,7 @@ The PostgreSQL extension provides an implementation of an [SqlFirehose](../../in
}
},
"ioConfig": {
"type": "index",
"type": "index_parallel",
"firehose": {
"type": "sql",
"database": {
Expand All @@ -145,7 +145,7 @@ The PostgreSQL extension provides an implementation of an [SqlFirehose](../../in
}
},
"tuningconfig": {
"type": "index"
"type": "index_parallel"
}
}
}
Expand Down
69 changes: 33 additions & 36 deletions docs/tutorials/tutorial-batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,42 +134,36 @@ which has been configured to read the `quickstart/tutorial/wikiticker-2015-09-12

```json
{
"type" : "index",
"type" : "index_parallel",
"spec" : {
"dataSchema" : {
"dataSource" : "wikipedia",
"parser" : {
"type" : "string",
"parseSpec" : {
"format" : "json",
"dimensionsSpec" : {
"dimensions" : [
"channel",
"cityName",
"comment",
"countryIsoCode",
"countryName",
"isAnonymous",
"isMinor",
"isNew",
"isRobot",
"isUnpatrolled",
"metroCode",
"namespace",
"page",
"regionIsoCode",
"regionName",
"user",
{ "name": "added", "type": "long" },
{ "name": "deleted", "type": "long" },
{ "name": "delta", "type": "long" }
]
},
"timestampSpec": {
"column": "time",
"format": "iso"
}
}
"dimensionsSpec" : {
"dimensions" : [
"channel",
"cityName",
"comment",
"countryIsoCode",
"countryName",
"isAnonymous",
"isMinor",
"isNew",
"isRobot",
"isUnpatrolled",
"metroCode",
"namespace",
"page",
"regionIsoCode",
"regionName",
"user",
{ "name": "added", "type": "long" },
{ "name": "deleted", "type": "long" },
{ "name": "delta", "type": "long" }
]
},
"timestampSpec": {
"column": "time",
"format": "iso"
},
"metricsSpec" : [],
"granularitySpec" : {
Expand All @@ -181,16 +175,19 @@ which has been configured to read the `quickstart/tutorial/wikiticker-2015-09-12
}
},
"ioConfig" : {
"type" : "index",
"firehose" : {
"type" : "index_parallel",
"inputSource" : {
"type" : "local",
"baseDir" : "quickstart/tutorial/",
"filter" : "wikiticker-2015-09-12-sampled.json.gz"
},
"inputFormat" : {
"type": "json"
},
"appendToExisting" : false
},
"tuningConfig" : {
"type" : "index",
"type" : "index_parallel",
"maxRowsPerSegment" : 5000000,
"maxRowsInMemory" : 25000
}
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/tutorial-compaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ We have included a compaction task spec for this tutorial datasource at `quickst
"dataSource": "compaction-tutorial",
"interval": "2015-09-12/2015-09-13",
"tuningConfig" : {
"type" : "index",
"type" : "index_parallel",
"maxRowsPerSegment" : 5000000,
"maxRowsInMemory" : 25000
}
Expand Down Expand Up @@ -143,7 +143,7 @@ We have included a compaction task spec that will create DAY granularity segment
"interval": "2015-09-12/2015-09-13",
"segmentGranularity": "DAY",
"tuningConfig" : {
"type" : "index",
"type" : "index_parallel",
"maxRowsPerSegment" : 5000000,
"maxRowsInMemory" : 25000,
"forceExtendableShardSpecs" : true
Expand Down
Loading