Skip to content

Commit

Permalink
fixed missing underscores in day_of_week doctest (#300) (#1885)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Wells <[email protected]>
(cherry picked from commit f92e48c)
  • Loading branch information
matthewryanwells authored and Yury-Fridlyand committed Jul 27, 2023
1 parent 732e431 commit feec843
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/user/ppl/functions/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit feec843

Please sign in to comment.