aisle 0.2.1

Metadata-driven Parquet pruning for Rust: Skip irrelevant data before reading
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
# Aisle
<img width="1138" height="177" alt="aisle banner (1)" src="https://github.com/user-attachments/assets/f5f873b3-018e-4735-8166-0b945b61dfbd" />

<p align="left">
  <a href="https://crates.io/crates/aisle/"><img src="https://img.shields.io/crates/v/aisle.svg"></a>
  <a href="https://docs.rs/aisle"><img src="https://img.shields.io/docsrs/aisle"></a>
  <a href="https://github.com/your-org/aisle/blob/main/LICENSE"><img src="https://img.shields.io/crates/l/aisle"></a>
</p>

Metadata-driven Parquet pruning for Rust: Skip irrelevant data before reading

Aisle evaluates pruning predicates against Parquet metadata (row-group statistics, page indexes, bloom filters, and optional dictionary hints) to determine which data to skip, dramatically reducing I/O for selective queries without modifying the upstream `parquet` crate.

πŸ“– [Read the full documentation on docs.rs](https://docs.rs/aisle)

## Why Aisle?

Parquet readers typically apply filters *after* reading data, wasting I/O on irrelevant row groups and pages.

Aisle evaluates your predicates against metadata *before* reading:
- Row-group pruning: using min/max statistics
- Page-level pruning: using column/offset indexes
- Bloom filter checks: for definite absence (high-cardinality columns)

It effectively reduces I/O for selective queries with zero changes to the Parquet format.

## Quick Start

```rust
use aisle::{Expr, PruneRequest};
use datafusion_common::ScalarValue;
use parquet::file::metadata::ParquetMetaDataReader;
use parquet::arrow::ParquetRecordBatchReaderBuilder;

// 1. Load metadata (without reading data)
let metadata = ParquetMetaDataReader::new()
    .parse_and_finish(&parquet_bytes)?;

// 2. Define your filter using Aisle expressions
let predicate = Expr::and(vec![
    Expr::gt_eq("user_id", ScalarValue::Int64(Some(1000))),
    Expr::lt("age", ScalarValue::Int64(Some(30))),
]);

// 3. Prune row groups
let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&predicate)
    .enable_page_index(false)     // Row-group level only
    .enable_bloom_filter(false)   // No bloom filters
    .prune();

println!("Pruned {} of {} row groups ({}% I/O reduction)",
    metadata.num_row_groups() - result.row_groups().len(),
    metadata.num_row_groups(),
    ((metadata.num_row_groups() - result.row_groups().len()) * 100
        / metadata.num_row_groups())
);

// 4. Apply pruning to Parquet reader
let reader = ParquetRecordBatchReaderBuilder::try_new(parquet_bytes)?
    .with_row_groups(result.row_groups().to_vec())  // Skip irrelevant row groups!
    .build()?;

// Read only the relevant data
for batch in reader {
    // Process matching rows...
}
```

Add to your `Cargo.toml`:

```toml
[dependencies]
aisle = "0.2"
datafusion-common = "51"
parquet = "57"
arrow-schema = "57"
```

### Optional Features

**Row Filtering** (requires `arrow-arith`, `arrow-ord`, `arrow-select`, and `arrow-cast`):
```toml
[dependencies]
aisle = { version = "0.2", features = ["row_filter"] }
```

Enables `RowFilter` for exact row-level filtering using Parquet's built-in `RowFilter`. Most users only need metadata pruning (default), but this feature allows using the same IR expression for both metadata pruning and exact row filtering.

## When to Use Aisle

Good fit:
- Selective queries (reading <20% of data)
- Large Parquet files (>100MB, multiple row groups)
- Remote storage (S3, GCS) where I/O is expensive
- High-cardinality point queries (user IDs, transaction IDs)
- Time-series with range queries

Not needed:
- Full table scans (no pruning benefit)
- Small files (<10MB, single row group)
- Already using a query engine with built-in pruning

Tips: Combine Aisle with proper Parquet configuration:
- Sort data by frequently-filtered columns
- Use reasonable row group sizes (64-256MB)
- Enable bloom filters for high-cardinality columns
- Write page indexes (Parquet 1.12+)

## Key Features

- Row-group pruning: Skip entire row groups using min/max statistics
- Page-level pruning: Skip individual pages within row groups
- Bloom filter support: Definite absence checks for point queries (`=`, `IN`)
- Dictionary hints (opt-in): Definite absence checks for string/binary `=` and `IN`
- Projection metadata: Expose predicate/output required columns for reader projection masks
- Aisle expressions: Build metadata-safe predicates with `Expr::...` (optional DataFusion compilation via `with_df_predicate` + `datafusion` feature)
- Conservative evaluation: Never skips data that might match (safety first)
- Async-first API: Optimized for remote storage (S3, GCS, Azure)
- Non-invasive: Works with upstream `parquet` crate, no format changes
- Best-effort compilation: Uses supported predicates even if some fail

## How It Works

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  Your Predicate                     β”‚
β”‚   WHERE user_id >= 1000 AND age < 30                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚
             β”‚  Two entry points:
             β”‚
             β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚             β”‚
             β–Ό             β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Aisle Native Expr β”‚  β”‚  DataFusion Expr (optional)  β”‚
β”‚  (direct usage)    β”‚  β”‚  (with "datafusion" feature) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β”‚
         β”‚                       β–Ό
         β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚              β”‚  Aisle Compiler   β”‚
         β”‚              β”‚  DF Expr -> Aisle β”‚
         β”‚              β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚
                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          Metadata Evaluation                        β”‚
β”‚  β€’ Row-group statistics (min/max, null_count)       β”‚
β”‚  β€’ Page indexes (page-level min/max)                β”‚
β”‚  β€’ Bloom filters (definite absence checks)          β”‚
β”‚  β€’ Tri-state logic (True/False/Unknown)             β”‚
β”‚                                                     β”‚
β”‚  Supports: =, !=, <, >, <=, >=, BETWEEN, IN,        β”‚
β”‚            IS NULL, LIKE 'prefix%', AND, OR, NOT    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚
                      β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Pruning Result                         β”‚
β”‚   row_groups: [2, 5, 7]  <- Only these needed!      β”‚
β”‚   row_selection: Some(...) <- Page-level selection  β”‚
β”‚   required_columns: ["user_id", "age", "payload"]  β”‚
β”‚   compile_result: Unsupported predicates logged     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚
                      β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          Parquet Reader                             β”‚
β”‚   .with_row_groups([2, 5, 7])                       β”‚
β”‚   .with_row_selection(...)                          β”‚
β”‚   I/O reduced! ⚑                                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

## What's Supported

### Predicates

| Type | Example | Row-Group | Page-Level | Bloom Filter |
|------|---------|-----------|------------|--------------|
| **Equality** | `col("x").eq(lit(42))` | βœ“ | βœ“ | βœ“ |
| **Inequality** | `col("x").not_eq(lit(42))` | βœ“ | βœ“ | βœ— |
| **Comparisons** | `col("x").lt(lit(100))` | βœ“ | βœ“ | βœ— |
| **Range** | `col("x").between(lit(10), lit(20))` | βœ“ | βœ“ | βœ— |
| **Set membership** | `col("x").in_list(vec![lit(1), lit(2)])` | βœ“ | βœ“ | βœ“ |
| **Null checks** | `col("x").is_null()` | βœ“ | βœ“ | βœ— |
| **String prefix** | `col("name").like(lit("prefix%"))` | βœ“ | βœ“ | βœ— |
| **Logical AND** | `col("x").gt(lit(10)).and(col("y").lt(lit(5)))` | βœ“ | βœ“ (best-effort) | βœ“ |
| **Logical OR** | `col("x").eq(lit(1)).or(col("x").eq(lit(2)))` | βœ“ | βœ“ (all-or-nothing) | βœ“ |
| **Logical NOT** | `col("x").gt(lit(50)).not()` | βœ“ | βœ“ (exact only) | βœ— |
| **Type casting** | `cast(col("x"), DataType::Int64).eq(lit(100))` | βœ“ (no-op casts only) | βœ“ | βœ“ |

### Data Types

Current supported leaf types for statistics-based pruning:
- Integers: Int8/16/32/64, UInt8/16/32/64
- Floats: Float32/Float64
- Boolean
- Strings: Utf8, LargeUtf8, Utf8View
- Binary: Binary, LargeBinary, BinaryView, FixedSizeBinary
- Dates: Date32/Date64
- Timestamps: Timestamp (Second/Millisecond/Microsecond/Nanosecond)
- Times: Time32/Time64
- Durations: Duration
- Decimals: Decimal32/Decimal64/Decimal128/Decimal256
- Intervals: Interval(YearMonth, DayTime, MonthDayNano*)

Notes:
- INT96 physical timestamps (deprecated) are supported when mapped to Arrow `Timestamp`.

`*` MonthDayNano note: Parquet INTERVAL metadata stores a 12-byte months/days/millis payload. Aisle maps this to Arrow MonthDayNano as `nanoseconds = millis * 1_000_000` (millisecond precision only).

Unsupported logical types remain conservative (`Unknown` -> keep data):
- List, LargeList, FixedSizeList, ListView, LargeListView
- Struct, Map, Union
- Dictionary
- RunEndEncoded
- Extension

### Metadata Sources

| Source | Row-Group | Page-Level | Point Queries |
|--------|-----------|------------|---------------|
| **Statistics** (min/max) | βœ“ Always | βœ“ Via page index | Range queries |
| **Null count** | βœ“ Always | βœ“ Via page index | IS NULL checks |
| **Bloom filters** | βœ“ Optional | βœ— Not applicable | `=` and `IN` |
| **Dictionary hints** | βœ“ Optional (async provider) | βœ— Not applicable | string/binary `=` and `IN` |

## Known Limitations

- Type coverage is partial: Unsupported logical types (listed above) are always conservative (`Unknown` -> keep). For Interval columns, pruning is only enabled when statistics are exact and collapse to a single value (`min == max`):
  - `=` / `!=`: exact point pruning when `min == max`
  - `<`, `<=`, `>`, `>=`: exact point pruning when `min == max`
  - Non-point interval ranges (`min != max`) stay conservative for ordering predicates

- Byte array ordering requires column metadata: For ordering predicates (`<`, `>`, `<=`, `>=`) on Binary/Utf8 columns:
  - Default (conservative): Requires `TYPE_DEFINED_ORDER(UNSIGNED)` column order AND exact (non-truncated) min/max statistics
  - Opt-in (aggressive): Use `.allow_truncated_byte_array_ordering(true)` to allow truncated statistics, but be aware this may cause false negatives if truncation changes ordering semantics
  - Equality predicates (`=`, `!=`, `IN`) always work regardless of truncation

- No non-trivial column casts: Only no-op column casts are allowed; literal casts happen at compile time.

- Page-level NOT is conservative: NOT is only inverted when the inner page selection is exact; otherwise it falls back to row-group evaluation.

- OR requires full support: If any OR branch is unsupported at page level, page pruning is disabled for the whole OR.

- LIKE support is limited: Only prefix patterns (`'prefix%'`) are pushed down.

- Dictionary hints are provider-driven (MVP): dictionary hints are opt-in (`.enable_dictionary_hints(true)`) and require an async provider implementation that returns **exact** per-row-group dictionary evidence.

## Usage Examples

**Page-level pruning:**
```rust
let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&predicate)
    .enable_page_index(true)
    .prune();
```

**Async with bloom filters:**
```rust
let metadata = builder.metadata().clone();
let schema = builder.schema().clone();
let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&predicate)
    .enable_bloom_filter(true)
    .prune_async(&mut builder).await;
```

**Async with dictionary hints (opt-in):**
```rust
use aisle::{
    AsyncBloomFilterProvider, DictionaryHintEvidence, DictionaryHintValue, PruneRequest,
};

impl AsyncBloomFilterProvider for MyProvider {
    async fn dictionary_hints(&mut self, rg: usize, col: usize) -> DictionaryHintEvidence {
        // Return Exact only when the set is complete for (rg, col).
        DictionaryHintEvidence::Exact(std::collections::HashSet::from([
            DictionaryHintValue::Utf8("value".to_string()),
        ]))
    }
}

let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&predicate)
    .enable_dictionary_hints(true)
    .prune_async(&mut my_provider).await;

**Projection pushdown (column pruning):**
```rust
use aisle::{Expr, PruneRequest};
use datafusion_common::ScalarValue;
use parquet::arrow::ParquetRecordBatchReaderBuilder;

let predicate = Expr::gt("key", ScalarValue::Int32(Some(100)));
let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&predicate)
    .with_output_projection(["payload_a"]) // requested output columns
    .prune();

// Apply both metadata pruning and required-column projection.
let reader = ParquetRecordBatchReaderBuilder::try_new(parquet_bytes)?
    .with_row_groups(result.row_groups().to_vec())
    .with_projection(result.required_projection_mask(metadata.file_metadata().schema_descr()))
    .build()?;
```

**Custom bloom provider:**
```rust
impl AsyncBloomFilterProvider for MyProvider {
    async fn bloom_filter(&mut self, rg: usize, col: usize) -> Option<Sbbf> {
        // Your optimized loading logic
    }
}

let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&predicate)
    .prune_async(&mut my_provider).await;
```

**Byte array ordering (advanced):**
```rust
// Conservative (default): Requires exact min/max for ordering predicates
let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&Expr::gt("name", ScalarValue::Utf8(Some("prefix".to_string()))))
    .prune();

// Aggressive: Allow truncated byte array statistics (may have false negatives)
let result = PruneRequest::new(&metadata, &schema)
    .with_predicate(&Expr::gt("name", ScalarValue::Utf8(Some("prefix".to_string()))))
    .allow_truncated_byte_array_ordering(true)
    .prune();
```

## Performance

Benchmark results from our test suite (100 row groups, 100K rows total):

### Metadata Evaluation Overhead

Extremely low overhead - metadata evaluation completes in microseconds:

| Operation | Time | Notes |
|-----------|------|-------|
| Row-group pruning (stats only) | ~38 Β΅s | Evaluating 100 row groups |
| With bloom filters | ~10 ms | Includes async I/O for bloom filter loading |

Metadata overhead is negligible compared to I/O costs, especially for S3 storage (50-100ms per file read).

### I/O Reduction

Real-world effectiveness on point queries (`id = value` on high-cardinality column):

| Scenario | Row Groups Kept | I/O Reduction | Speedup | Notes |
|----------|-----------------|---------------|---------|-------|
| Stats only | 25 / 100 | 75% | Moderate | When stats overlap |
| Bloom filters | 1 / 100 | 96% | ~750x | Definite absence checks |

Bloom filter impact: When statistics can't prune (overlapping ranges), bloom filters achieve dramatic reductions for point queries.

### Query Performance Comparison

Point query performance (DataFusion baseline, 100 row groups):

| Configuration | Time | Row Groups Matched | Relative |
|---------------|------|-------------------|----------|
| Row-group stats only | 4.9 ms | 80 / 100 | Baseline |
| + Page index | 3.6 ms | 80 / 100 (with page pruning) | 1.4x faster |
| + Bloom filter | 8.1 ms | 5 / 100 | More I/O reduction but bloom overhead |
| + Both | 8.1 ms | 5 / 100 (with page pruning) | Best selectivity |

Trade-off: Bloom filters add I/O overhead but dramatically reduce row groups scanned. Best for:
- High-cardinality point queries
- Remote storage (S3) where avoiding file reads matters most
- Workloads where pruning > bloom I/O cost

### Performance Factors

Data layout (most important):
- Sorted data: Best pruning (non-overlapping ranges)
- Random data: Moderate pruning (overlapping ranges, bloom filters help)
- Clustered data: Good pruning within clusters

Query selectivity:
- Point queries (`=`, `IN`): Excellent with bloom filters (90-99% reduction)
- Range queries (`BETWEEN`, `<`, `>`): Good with sorted data (50-90% reduction)
- Multi-column AND: Good (intersect pruned sets)
- Multi-column OR: Conservative (union pruned sets)

Metadata availability:
- Row-group stats: Always available
- Page indexes: Parquet 1.12+ (enables page-level pruning)
- Bloom filters: Optional, must be written explicitly

### S3/Object Storage Impact

For S3-based storage where each file read costs 50-100ms:

Without pruning (1000 files):
- Total latency: 50-100 seconds
- Full data transfer cost

With Aisle (99% pruning):
- Metadata evaluation: ~1-5 ms
- Read 10 files: ~1 second
- 50-100x total speedup
- 99% cost reduction

This makes Aisle critical for S3-based LSM engines where metadata pruning isn't optionalβ€”it's survival.

### Run Benchmarks

```bash
# Full benchmark suite
cd benches/df_compare
cargo bench

# Specific benchmarks
cargo bench --bench metadata_eval
cargo bench --bench point_query
cargo bench --bench bloom_filter
```

## Examples

Run the included examples to see end-to-end usage:

- **`basic_usage`**: Row-group pruning with metadata and predicates
- **`bloom_filter`**: Async API with bloom filter support
- **`byte_array_ordering`**: String/binary ordering awareness with exact/truncated statistics

```bash
# Row-group pruning example
cargo run --example basic_usage

# Async + bloom filters
cargo run --example bloom_filter

# Byte array ordering scenarios
cargo run --example byte_array_ordering
```

## Architecture

See detailed documentation:
- **[Architecture]docs/architecture.md**: Internal design and IR compilation
- **[Development Plan]docs/development_plan.md**: Implementation roadmap
- **[Deep Dive: DataFusion Parquet vs Aisle]docs/deep_dive_datafusion_parquet_vs_aisle.md**: Design comparison and non-goals

## Testing

Aisle has comprehensive test coverage (111 tests):

```bash
# Run all tests
cargo test

# Run specific test suites
cargo test --test best_effort_pruning  # NOT pushdown edge cases
cargo test --test null_count_edge_cases  # Null handling
cargo test --test async_bloom  # Bloom filter integration
```

## License

Licensed under the MIT License. See [LICENSE](LICENSE) for details.

---

**Built with:** [arrow-rs](https://github.com/apache/arrow-rs) β€’ [DataFusion](https://github.com/apache/datafusion) β€’ [Parquet](https://parquet.apache.org/)