Commit e63c82b
docs: comprehensive distributed execution guide + docs uplift (#24)
* docs: comprehensive docs uplift for recent features
New guide: Distributed IO — covers size-balanced reads, partition
pruning, Postgres hash-partitioned reads, DuckLake file manifest,
parallel writes, partition_by output, distributed insert_into. Includes
mermaid architecture diagrams and data flow charts.
Updated guides:
- data-io: add Excel IO, insert_into, database writes
- joins-and-reshape: add ASOF JOIN section, cross-source join tip
- cheatsheet: add ~15 missing functions (attach/detach, from_excel,
to_excel, insert_into, partition_by, ASOF join, secrets, from_attached,
distributed Postgres reads, distributed writes)
Updated mix.exs to include new guide in ExDoc extras.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: comprehensive distributed execution guide + docs uplift
Replace the thin distributed-queries.livemd and separate distributed-io.md
with a single comprehensive distributed.md guide covering the full story:
- Architecture (Coordinator → PipelineSplitter → Partitioner → Workers → Merger)
- Query decomposition with sequence diagram
- Pipeline splitting: worker-safe vs coordinator-only ops
- Aggregate rewrites (AVG→SUM/COUNT, STDDEV→Welford, COUNT DISTINCT→HLL)
- Streaming merger and lattice compatibility
- Data partitioning: size-balanced, Hive pruning, Postgres hash reads
- Source safety classification table
- Joins: broadcast (< 256MB) and shuffle (4-phase hash exchange)
- Distributed writes: parallel files, partition_by, insert_into
- Performance considerations and common pitfalls
- Fault tolerance summary
- Telemetry events table
Also updates data-io, joins-and-reshape, cheatsheet guides with Excel IO,
ASOF JOIN, insert_into, attach/from_attached, partition_by, secrets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: fix 'connected by BEAM' → 'connected by the BEAM'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3fa3297 commit e63c82b
8 files changed
Lines changed: 574 additions & 162 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
16 | 33 | | |
17 | 34 | | |
18 | 35 | | |
| |||
132 | 149 | | |
133 | 150 | | |
134 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
135 | 158 | | |
136 | 159 | | |
137 | 160 | | |
| |||
176 | 199 | | |
177 | 200 | | |
178 | 201 | | |
| 202 | + | |
179 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
180 | 211 | | |
181 | 212 | | |
182 | 213 | | |
| |||
194 | 225 | | |
195 | 226 | | |
196 | 227 | | |
| 228 | + | |
197 | 229 | | |
198 | | - | |
199 | 230 | | |
200 | 231 | | |
201 | | - | |
| 232 | + | |
202 | 233 | | |
203 | 234 | | |
204 | 235 | | |
205 | 236 | | |
206 | 237 | | |
207 | 238 | | |
208 | 239 | | |
209 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
210 | 258 | | |
| 259 | + | |
211 | 260 | | |
212 | | - | |
| 261 | + | |
| 262 | + | |
213 | 263 | | |
214 | 264 | | |
215 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 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 | + | |
100 | 154 | | |
101 | 155 | | |
102 | 156 | | |
| |||
This file was deleted.
0 commit comments