From feec8430614a930b9fdb5934b89e607654bf9209 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 (cherry picked from commit f92e48ca2b2d5121769e9d3252048dc282e33465) --- 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 fccfefca6b..724c524965 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