From e718b51d5773d68cac4b8e829895712991f5898a Mon Sep 17 00:00:00 2001 From: currantw Date: Thu, 16 Jan 2025 09:29:47 -0800 Subject: [PATCH] Add examples to `ppl-where-command.md` Signed-off-by: currantw --- docs/ppl-lang/ppl-where-command.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/ppl-lang/ppl-where-command.md b/docs/ppl-lang/ppl-where-command.md index d6c68cdaf..528100201 100644 --- a/docs/ppl-lang/ppl-where-command.md +++ b/docs/ppl-lang/ppl-where-command.md @@ -62,3 +62,4 @@ PPL query: | where case(factor = 2, 'even', factor = 4, 'even', factor = 6, 'even', factor = 8, 'even' else 'odd') = 'even' | stats count() by factor` - `source = table | where timestamp >= relative_timestamp("-1d@w6")` +- `source = table | where earliest("-1d@w0", timestamp) and latest("now")`