Repository navigation
Commit 65654a2
table_buffering: FrameworkNS prefix + drop wire flag + rename from TableSinkSource
Three coupled landings:
* FrameworkNS enum (vgi.function_storage) reserves the b"_vgi/" prefix
for framework-owned storage namespaces. BoundStorage.state_* rejects
raw bytes with that prefix and accepts FrameworkNS members verbatim;
framework callsites in worker.py and table_in_out_function.py migrated
off bare bytes literals (b"agg" / b"win" / b"buf_init" /
b"streaming_finalize" / b"sd"). User-owned fixture namespaces keep
their freely-chosen names.
* Rename TableSinkSourceFunction -> TableBufferingFunction throughout:
module, params, finalize-state, RPC method names, phase strings,
FrameworkNS members. The Sink+Source name exposed the C++ operator
shape rather than what users think they're doing ("buffer all input,
emit at end").
* Drop the redundant table_buffering bool on the catalog wire.
CatalogFunctionType and FunctionType gain TABLE_BUFFERING values; the
class hierarchy resolves there directly via
_CLASS_NAME_TO_FUNCTION_TYPE, the auto-set + Meta.table_buffering
attribute go away, and downstream consumers derive routing from
function_type alone. Single source of truth.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 591b132 commit 65654a2
14 files changed
Lines changed: 1489 additions & 1080 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 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 | + | |
236 | 274 | | |
237 | 275 | | |
238 | 276 | | |
| |||
0 commit comments