Skip to content

Apache DataFusion SQL Query Engine

ci: don't trigger rust ci for doc changes (#5097)

xudong.w842bda3153f1
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 5e62333692..8a59cae019 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -22,9 +22,16 @@ concurrency:
cancel-in-progress: true
on:
- # always trigger on PR
push:
+ paths-ignore:
+ - "docs/**"
+ - "**.md"
+ - ".github/**"
pull_request:
+ paths-ignore:
+ - "docs/**"
+ - "**.md"
+ - ".github/**"
# manual trigger
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
diff --git a/docs/source/user-guide/expressions.md b/docs/source/user-guide/expressions.md
index 5dc3520d10..9bb4af2ead 100644
--- a/docs/source/user-guide/expressions.md
+++ b/docs/source/user-guide/expressions.md
@@ -25,8 +25,8 @@ available for creating logical expressions. These are documented below.
Expressions can be chained together using a fluent-style API:
```rust
-// create the expression `(a > 5) AND (b < 7)`
-col("a").gt(lit(5)).and(col("b").lt(lit(7)))
+// create the expression `(a > 6) AND (b < 7)`
+col("a").gt(lit(6)).and(col("b").lt(lit(7)))
```
## Identifiers