From 97c380c14ad6d66bfd36be920819bacc41ea4977 Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Wed, 3 Nov 2021 17:28:17 +0800 Subject: [PATCH] [skip ci]Update typo in query boolean expr md (#11164) Signed-off-by: yanliang567 --- docs/design_docs/query_boolean_expr.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design_docs/query_boolean_expr.md b/docs/design_docs/query_boolean_expr.md index 88696282b..79fe6050f 100644 --- a/docs/design_docs/query_boolean_expr.md +++ b/docs/design_docs/query_boolean_expr.md @@ -74,13 +74,13 @@ Tips: 1. NIL represents an empty string, which means there is no Predicate for Expr. 2. Gramma is described by EBNF syntax,expressions that may be omitted or repeated are represented through curly braces `{...}`. -After syntax analysis, following rules will be applied: +After syntax analysis, the following rules will be applied: 1. non-vector column must exist in Schema. 2. CompareExpr/TermExpr requires operand type matching. 3. CompareExpr between non-vector columns of different types is available 4. The modulo operation requires all operands to be integers. -5. Integer columns can only match integer operands. But float columns can match both integer and float operands. +5. Integer columns can only match integer operands. While float columns can match both integer and float operands. 6. In BinaryOp, the `and`/`&&` operator has higher priority than the `or`/`||` operator example: -- GitLab