Alibaba Cloud's EMR Serverless Spark now ships an optimised build of Daft, a distributed DataFrame engine for multimodal data, and a 13 November post on the Alibaba Cloud blog walks a full web-corpus pipeline through it. The argument is that the algorithms are not the hard part; keeping extraction, filtering, deduplication, model annotation and vectorisation stable at scale while thresholds and models change is. In the described build, WARC and HTML parsing, whitespace and boilerplate cleaning, quality signals, exact and MinHash near-duplicate deduplication, LLM calls through ai_query and embedding calls through ai_embedding all run as operators in one execution plan, with concurrency, rate-limit backoff and token accounting handled by the engine, and output written to OSS as Parquet. The author puts deduplication before metered model calls so identical content is not paid for twice, and notes that sample thresholds such as a 0.5 quality cut are starting points to be recalibrated by language, source and task.
Our takeThe claim worth testing is the ordering. Exact-hash and MinHash dedup ahead of ai_query and ai_embedding is a cost decision, and it moves the trade-off to recall: near-duplicates the signature misses are paid for twice. Pulling model calls into the DataFrame plan also puts token accounting and retry policy inside the query engine, which helps reproducibility but hides spend unless the plan exposes per-operator token counts. Calling 0.5 a placeholder rather than a standard is the honest part.