Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
Signed-off-by: Hendrik Saly <[email protected]>
  • Loading branch information
salyh committed Oct 29, 2024
1 parent fadd2d2 commit f8be3a7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/ppl-lang/planning/ppl-between.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
1. **Proposed syntax**
- `... | where expr1 [NOT] BETWEEN expr2 AND expr3`
- evaluate if expr1 is [not] in between expr2 and expr3
- `... | where a between 1 and 4`
- `... | where b not between '2024-09-10' and '2025-09-10'`

2. **Proposed impl**
- forward to sparks built-in function of between
- `... | where a between 1 and 4` - Note: This returns a >= 1 and a <= 4, i.e. [1, 4]
- `... | where b not between '2024-09-10' and '2025-09-10'` - Note: This returns b >= '2024-09-10' and b <= '2025-09-10'

### New syntax definition in ANTLR

Expand Down

0 comments on commit f8be3a7

Please sign in to comment.