Skip to content

Commit

Permalink
Add examples to ppl-where-command.md
Browse files Browse the repository at this point in the history
Signed-off-by: currantw <[email protected]>
  • Loading branch information
currantw committed Jan 16, 2025
1 parent 9945953 commit e718b51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/ppl-lang/ppl-where-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")`

0 comments on commit e718b51

Please sign in to comment.