From 08cc99a7a57d06552c38db8924f9106cbff8d60e Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Sat, 31 Jul 2021 18:03:20 -0400 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=88=B0=20Roll-up=20?= =?UTF-8?q?=E8=BD=BD=E5=85=A5=E7=A4=BA=E4=BE=8B=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tutorials/tutorial-rollup.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/tutorial-rollup.md b/tutorials/tutorial-rollup.md index 50da7a2..1ba3870 100644 --- a/tutorials/tutorial-rollup.md +++ b/tutorials/tutorial-rollup.md @@ -83,13 +83,13 @@ Roll-up 是第一级对选定列集的一级聚合操作,通过这个操作我 } ``` -Roll-up has been enabled by setting `"rollup" : true` in the `granularitySpec`. +通过在 `granularitySpec` 选项中设置 `rollup : true` 来启用 Roll-up。 -Note that we have `srcIP` and `dstIP` defined as dimensions, a longSum metric is defined for the `packets` and `bytes` columns, and the `queryGranularity` has been defined as `minute`. +请注意,我们将 `srcIP` 和 `dstIP` 定义为 **维度(dimensions)**,将 `packets` 和 `bytes` 列定义为了 longSum 类型的**指标(metric)**,并将 `queryGranularity` 配置定义为 `minute`。 -We will see how these definitions are used after we load this data. +加载这些数据后,我们将看到如何使用这些定义。 -## Load the example data +## 载入示例数据 From the apache-druid-apache-druid-0.21.1 package root, run the following command: