Browse Source
PRECISION TRIGGER: Log exactly when the file we need is written!
Changes:
1. SeaweedOutputStream.close(): Add WARN log for /test-spark/employees/*.parquet
- Format: '=== PARQUET FILE WRITTEN TO EMPLOYEES: filename (size bytes) ==='
- Uses WARN level so it stands out in logs
2. Workflow: Trigger download on this exact log message
- Instead of 'Running seaweed.spark.SparkSQLTest' (too early)
- Now triggers on 'PARQUET FILE WRITTEN TO EMPLOYEES' (exact moment!)
Timeline:
File write starts
↓
close() called → LOG APPEARS
↓
Workflow detects log → DOWNLOAD NOW! ← We're here instantly!
↓
Spark reads file → EOF error
↓
Analyze downloaded file ✅
This gives us the EXACT moment to download, with near-zero latency!
pull/7526/head
2 changed files with 9 additions and 3 deletions
Loading…
Reference in new issue