Skip to content

Commit

Permalink
#2178 Correct the rule for date diff interval function
Browse files Browse the repository at this point in the history
  • Loading branch information
homedirectory committed Feb 15, 2024
1 parent c0f5d98 commit b2e0fe3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public final class CanonicalEqlGrammar {
to(ifNull, SingleOperandOrExpr, then, SingleOperandOrExpr).

derive(DateDiffInterval).
to(count, DateDiffIntervalUnit, between, SingleOperandOrExpr).
to(count, DateDiffIntervalUnit, between, SingleOperandOrExpr, and, SingleOperandOrExpr).

derive(DateDiffIntervalUnit).
to(seconds).or(minutes).or(hours).or(days).or(months).or(years).
Expand Down

0 comments on commit b2e0fe3

Please sign in to comment.