Skip to content

Commit 9c99f32

Browse files
authored
Fix the CI (#2171)
1 parent c72ca72 commit 9c99f32

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

mkdocs/docs/expression-dsl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,4 @@ complex_filter = And(
256256
EqualTo("type", "enterprise")
257257
)
258258
)
259-
```
259+
```

mkdocs/docs/row-filter-syntax.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
# Row Filter Syntax
1919

20-
In addtion to the primary [Expression DSL](expression-dsl.md), PyIceberg provides a string-based statement interface for filtering rows in Iceberg tables. This guide explains the syntax and provides examples for supported operations.
20+
In addition to the primary [Expression DSL](expression-dsl.md), PyIceberg provides a string-based statement interface for filtering rows in Iceberg tables. This guide explains the syntax and provides examples for supported operations.
2121

2222
The row filter syntax is designed to be similar to SQL WHERE clauses. Here are the basic components:
2323

24-
### Column References
24+
## Column References
2525

2626
Columns can be referenced using either unquoted or quoted identifiers:
2727

@@ -30,7 +30,7 @@ column_name
3030
"column.name"
3131
```
3232

33-
### Literals
33+
## Literals
3434

3535
The following literal types are supported:
3636

@@ -137,6 +137,7 @@ price IS NOT NULL AND price > 100 AND quantity > 0
137137
## Common Pitfalls
138138

139139
1. **String Quoting**: Always use single quotes for string literals. Double quotes are reserved for column identifiers.
140+
140141
```sql
141142
-- Correct
142143
name = 'John'
@@ -146,6 +147,7 @@ price IS NOT NULL AND price > 100 AND quantity > 0
146147
```
147148

148149
2. **Wildcard Usage**: The `%` wildcard in LIKE patterns can only appear at the end.
150+
149151
```sql
150152
-- Correct
151153
name LIKE 'John%'
@@ -155,6 +157,7 @@ price IS NOT NULL AND price > 100 AND quantity > 0
155157
```
156158

157159
3. **Case Sensitivity**: Boolean literals (`true`/`false`) are case insensitive, but string comparisons are case sensitive.
160+
158161
```sql
159162
-- All valid
160163
is_active = true
@@ -169,4 +172,4 @@ price IS NOT NULL AND price > 100 AND quantity > 0
169172

170173
1. For complex use cases, use the primary [Expression DSL](expression-dsl.md)
171174
2. When using multiple conditions, consider the order of operations (NOT > AND > OR)
172-
3. For string comparisons, be consistent with case usage
175+
3. For string comparisons, be consistent with case usage

0 commit comments

Comments
 (0)