Skip to content

densify tweaks #6148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2021
Merged
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
8 changes: 6 additions & 2 deletions source/reference/operator/aggregation/densify.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Syntax

The :pipeline:`$densify` stage has this syntax:

.. code-block:: javascript
.. code-block:: none

{
$densify: {
Expand Down Expand Up @@ -257,7 +257,8 @@ four hour intervals.
] )

This example uses the :pipeline:`$densify` stage to fill in the gaps
between the four-hour intervals:
between the four-hour intervals to achieve hourly granularity for the
data points:

.. code-block:: javascript

Expand Down Expand Up @@ -295,6 +296,7 @@ between the hours of ``00:00:00`` and ``08:00:00``.

.. code-block:: javascript
:emphasize-lines: 8-10, 17-19
:copyable: false

[
{
Expand Down Expand Up @@ -405,6 +407,7 @@ The aggregation outputs the following documents:

.. code-block:: javascript
:emphasize-lines: 14,21-24,31-32,40-43
:copyable: false

[
{
Expand Down Expand Up @@ -500,6 +503,7 @@ The aggregation outputs the following documents:

.. code-block:: javascript
:emphasize-lines: 14,27-28
:copyable: false

[
{
Expand Down