You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by fr...@apache.org on 2022/04/25 13:44:32 UTC

[druid] branch master updated: Update native-batch.md (#12478)

This is an automated email from the ASF dual-hosted git repository.

frankchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new b47316b844 Update native-batch.md (#12478)
b47316b844 is described below

commit b47316b8442fb6f1f440c1418d63a5809559a2f4
Author: Peter Marshall <42...@users.noreply.github.com>
AuthorDate: Mon Apr 25 14:44:17 2022 +0100

    Update native-batch.md (#12478)
    
    Fixed indent on the Granularity Spec section and removed some superfluous tabbings.
---
 docs/ingestion/native-batch.md | 76 ++++++++++++++++++++++--------------------
 1 file changed, 39 insertions(+), 37 deletions(-)

diff --git a/docs/ingestion/native-batch.md b/docs/ingestion/native-batch.md
index 141a54c3c4..4c528ed850 100644
--- a/docs/ingestion/native-batch.md
+++ b/docs/ingestion/native-batch.md
@@ -136,49 +136,51 @@ The following example illustrates the configuration for a parallel indexing task
       "metricsSpec": [
         {
           "type": "count",
-              "name": "count"
-            },
-            {
-              "type": "doubleSum",
-              "name": "added",
-              "fieldName": "added"
-            },
-            {
-              "type": "doubleSum",
-              "name": "deleted",
-              "fieldName": "deleted"
-            },
-            {
-              "type": "doubleSum",
-              "name": "delta",
-              "fieldName": "delta"
-            }
-        ],
-        "granularitySpec": {
-          "segmentGranularity": "DAY",
-          "queryGranularity": "second",
-          "intervals" : [ "2013-08-31/2013-09-02" ]
+          "name": "count"
+        },
+        {
+          "type": "doubleSum",
+          "name": "added",
+          "fieldName": "added"
+        },
+        {
+          "type": "doubleSum",
+          "name": "deleted",
+          "fieldName": "deleted"
+        },
+        {
+          "type": "doubleSum",
+          "name": "delta",
+          "fieldName": "delta"
         }
+      ],
+      "granularitySpec": {
+        "segmentGranularity": "DAY",
+        "queryGranularity": "second",
+        "intervals": [
+          "2013-08-31/2013-09-02"
+        ]
+      }
     },
     "ioConfig": {
-        "type": "index_parallel",
-        "inputSource": {
-          "type": "local",
-          "baseDir": "examples/indexing/",
-          "filter": "wikipedia_index_data*"
-        },
-        "inputFormat": {
-          "type": "json"
-        }
+      "type": "index_parallel",
+      "inputSource": {
+        "type": "local",
+        "baseDir": "examples/indexing/",
+        "filter": "wikipedia_index_data*"
+      },
+      "inputFormat": {
+        "type": "json"
+      }
     },
     "tuningConfig": {
-        "type": "index_parallel",
-        "partitionsSpec": {
-             "type": "single_dim",
-             "partitionDimension": "country",
-             "targetRowsPerSegment": 5000000
+      "type": "index_parallel",
+      "partitionsSpec": {
+        "type": "single_dim",
+        "partitionDimension": "country",
+        "targetRowsPerSegment": 5000000
       },
-        "maxNumConcurrentSubTasks": 2
+      "maxNumConcurrentSubTasks": 2
     }
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org