Skip to content

Commit

Permalink
Fix typo in predicate-push-down.md (#18216) (#18255)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Aug 5, 2024
1 parent f0e3022 commit 6e8ca44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion predicate-push-down.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ explain select * from t where a < substring('123', 1, 1);
+-------------------------+----------+-----------+---------------+--------------------------------+
```

该查询与示例 1 中的查询生成了完成一样的执行计划,这是因为谓词 `a < substring('123', 1, 1)``substring` 的入参均为常量,因此可以提前计算,进而简化得到等价的谓词 `a < 1`。进一步的,可以将 `a < 1` 下推至 TiKV 上。
该查询与示例 1 中的查询生成了完全一样的执行计划,这是因为谓词 `a < substring('123', 1, 1)``substring` 的入参均为常量,因此可以提前计算,进而简化得到等价的谓词 `a < 1`。进一步的,可以将 `a < 1` 下推至 TiKV 上。

### 示例 3: 谓词下推到 join 下方

Expand Down

0 comments on commit 6e8ca44

Please sign in to comment.