You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/09/09 02:10:48 UTC
[GitHub] [druid] FrankChen021 commented on a change in pull request #11673: Docs - SYS query examples
FrankChen021 commented on a change in pull request #11673:
URL: https://github.com/apache/druid/pull/11673#discussion_r704897051
##########
File path: docs/querying/sql.md
##########
@@ -1169,6 +1179,26 @@ GROUP BY 1
ORDER BY 2 DESC
```
+This query goes a step further and shows the overall profile of available, non-realtime segments across 1m row buckets for the `foo` datasource:
+
+```sql
+SELECT ABS("num_rows" / 1000000) as "bucket",
+ COUNT(*) as segments,
+ SUM("size") / 1048576 as totalSizeMb,
Review comment:
```suggestion
SUM("size") / 1048576 as totalSizeMiB,
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org