From f92e48ca2b2d5121769e9d3252048dc282e33465 Mon Sep 17 00:00:00 2001 From: Matthew Wells Date: Wed, 19 Jul 2023 13:49:18 -0700 Subject: [PATCH] fixed missing underscores in day_of_week doctest (#300) (#1885) Signed-off-by: Matthew Wells --- docs/user/ppl/functions/datetime.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/user/ppl/functions/datetime.rst b/docs/user/ppl/functions/datetime.rst index 8f844c75a2..f7c4091753 100644 --- a/docs/user/ppl/functions/datetime.rst +++ b/docs/user/ppl/functions/datetime.rst @@ -754,13 +754,13 @@ Synonyms: `DAYOFWEEK`_ Example:: - os> source=people | eval `DAYOFWEEK(DATE('2020-08-26'))` = DAYOFWEEK(DATE('2020-08-26')) | fields `DAYOFWEEK(DATE('2020-08-26'))` + os> source=people | eval `DAY_OF_WEEK(DATE('2020-08-26'))` = DAY_OF_WEEK(DATE('2020-08-26')) | fields `DAY_OF_WEEK(DATE('2020-08-26'))` fetched rows / total rows = 1/1 - +---------------------------------+ - | DAYOFWEEK(DATE('2020-08-26')) | - |---------------------------------| - | 4 | - +---------------------------------+ + +-----------------------------------+ + | DAY_OF_WEEK(DATE('2020-08-26')) | + |-----------------------------------| + | 4 | + +-----------------------------------+ DAYOFYEAR