Commit 423b0d0
Skip Dataflow ThreadPoolExecutor on empty preprocessing spec
Same root cause as the enumerate fix: ThreadPoolExecutor(max_workers=0)
raises ValueError. When both node_ref_to_preprocessing_spec and
edge_ref_to_preprocessing_spec are empty, num_dataflow_jobs is 0 and
the executor blows up in __init__. Early-return an empty
PreprocessedMetadataReferences in that case — no Dataflow work to do.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 67a6584 commit 423b0d0
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
355 | 361 | | |
356 | 362 | | |
357 | 363 | | |
| |||
0 commit comments