Repository navigation
fix(licensing): take the Iris example dataset from scikit-learn instead of UCI - #9000
Conversation
…3) instead of UCI (CC BY 4.0) The single-node examples ship Iris.csv in both the source release and the docker-compose bundle, recorded in LICENSE as CC BY 4.0 from the UCI repository. ASF policy allows CC BY works in binary form only, so they cannot be in a source release. Take the dataset from the copy scikit-learn distributes under the BSD 3-Clause License instead. The CSV keeps its columns and row order; only rows 35 and 38 change, which are the two known transcription errors in the UCI copy that scikit-learn's copy corrects to Fisher's values. Move the LICENSE entries to BSD 3-Clause, ship the BSD 3-Clause text in the compose bundle, drop the now-unused CC BY 4.0 text, and update the dataset description.
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
1 open finding
What changed in this PR
Updates the bundled Iris example dataset and licensing metadata to use the scikit-learn–distributed copy (BSD 3-Clause) instead of the UCI/Kaggle CC BY 4.0 copy, ensuring source-release license compliance.
Changes:
- Replace the Iris dataset provenance text and update LICENSE entries to BSD 3-Clause attribution.
- Update the bundled Iris.csv rows to match scikit-learn’s corrected copy.
- Remove the CC BY 4.0 license text and adjust the release-candidate bundling workflow to ship the BSD 3-Clause text.
| File | Description |
|---|---|
| licenses/LICENSE-CC-BY-4.0.txt | Removes the previously bundled CC BY 4.0 license text. |
| bin/single-node/examples/datasets/iris-species/description.txt | Updates dataset description/provenance to scikit-learn (BSD 3-Clause). |
| bin/single-node/examples/datasets/iris-species/Iris.csv | Updates dataset rows to match scikit-learn’s corrected iris.csv. |
| bin/single-node/LICENSE | Updates single-node bundle third-party notice for Iris dataset to BSD 3-Clause. |
| LICENSE | Updates root third-party notice for Iris dataset to BSD 3-Clause. |
| .github/workflows/create-release-candidate.yml | Ships BSD 3-Clause text in the release-candidate bundle instead of CC BY 4.0. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Backport auto-label reportThis
|
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9000 +/- ##
=========================================
Coverage 92.30% 92.30%
+ Complexity 5046 5045 -1
=========================================
Files 1260 1260
Lines 53887 53887
Branches 6711 6711
=========================================
Hits 49743 49743
+ Misses 2486 2485 -1
- Partials 1658 1659 +1
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🟢 | bs=10 sw=10 sl=64 | 421 | 0.257 | 22,449/31,204/31,204 us | 🟢 -13.3% / 🔴 +113.6% |
| 🔴 | bs=100 sw=10 sl=64 | 860 | 0.525 | 110,861/176,238/176,238 us | 🔴 +13.2% / 🔴 +75.9% |
| 🔴 | bs=1000 sw=10 sl=64 | 1,009 | 0.616 | 984,274/1,103,013/1,103,013 us | 🔴 +8.9% / 🔴 +19.3% |
Baseline details
Latest main 7426431 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 421 tuples/sec | 426 tuples/sec | 912.36 tuples/sec | -1.2% | -53.9% |
| bs=10 sw=10 sl=64 | MB/s | 0.257 MB/s | 0.26 MB/s | 0.557 MB/s | -1.2% | -53.8% |
| bs=10 sw=10 sl=64 | p50 | 22,449 us | 23,686 us | 11,391 us | -5.2% | +97.1% |
| bs=10 sw=10 sl=64 | p95 | 31,204 us | 36,000 us | 14,608 us | -13.3% | +113.6% |
| bs=10 sw=10 sl=64 | p99 | 31,204 us | 36,000 us | 17,250 us | -13.3% | +80.9% |
| bs=100 sw=10 sl=64 | throughput | 860 tuples/sec | 923 tuples/sec | 1,161 tuples/sec | -6.8% | -25.9% |
| bs=100 sw=10 sl=64 | MB/s | 0.525 MB/s | 0.564 MB/s | 0.709 MB/s | -6.9% | -25.9% |
| bs=100 sw=10 sl=64 | p50 | 110,861 us | 103,538 us | 91,471 us | +7.1% | +21.2% |
| bs=100 sw=10 sl=64 | p95 | 176,238 us | 155,731 us | 100,192 us | +13.2% | +75.9% |
| bs=100 sw=10 sl=64 | p99 | 176,238 us | 155,731 us | 119,565 us | +13.2% | +47.4% |
| bs=1000 sw=10 sl=64 | throughput | 1,009 tuples/sec | 1,038 tuples/sec | 1,226 tuples/sec | -2.8% | -17.7% |
| bs=1000 sw=10 sl=64 | MB/s | 0.616 MB/s | 0.633 MB/s | 0.748 MB/s | -2.7% | -17.7% |
| bs=1000 sw=10 sl=64 | p50 | 984,274 us | 957,187 us | 887,282 us | +2.8% | +10.9% |
| bs=1000 sw=10 sl=64 | p95 | 1,103,013 us | 1,012,905 us | 924,352 us | +8.9% | +19.3% |
| bs=1000 sw=10 sl=64 | p99 | 1,103,013 us | 1,012,905 us | 951,858 us | +8.9% | +15.9% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,475.04,200,128000,421,0.257,22449.44,31203.88,31203.88
1,100,10,64,20,2326.11,2000,1280000,860,0.525,110860.73,176238.45,176238.45
2,1000,10,64,20,19820.74,20000,12800000,1009,0.616,984273.99,1103013.20,1103013.20…ad of UCI (#9000) ### What changes were proposed in this PR? The single-node examples ship `Iris.csv` in both the source release and the docker-compose bundle, and `LICENSE` records it as CC BY 4.0 from the UCI repository (#8803). ASF policy allows CC BY works only in binary form ("only include them in binary form", https://www.apache.org/legal/resolved.html), so the file can't be in a source release under that licence. This takes the dataset from the copy scikit-learn distributes under the BSD 3-Clause License instead. The CSV keeps its columns, row order and species names, so the example workflow is unaffected. Only rows 35 and 38 change: they are the two known transcription errors in the UCI copy, which scikit-learn's copy corrects to Fisher's published values. The `LICENSE` entries (root and `bin/single-node/`) move to BSD 3-Clause, the compose bundle ships the BSD 3-Clause text instead of CC BY 4.0, the now-unused `licenses/LICENSE-CC-BY-4.0.txt` is removed, and the dataset description names the new source. This conflicts with #8997 in `LICENSE`, since both add the BSD 3-Clause section; whichever lands second merges the two entries. ### Any related issues, documentation, discussions? Follows up #8803. ### How was this PR tested? Checked that every row of the new `Iris.csv` matches scikit-learn 1.7.2's `iris.csv`. Ran the bundle's `git archive` export step against this commit to confirm it picks up the BSD 3-Clause text, and checked that the new description still makes valid JSON in `load-examples.sh`, which inserts it unescaped. ### Was this PR authored or co-authored using generative AI tooling? (backported from commit 707849a) Generated-by: Claude Code (claude-opus-5-5)
… instead of UCI (apache#9011) ### What changes were proposed in this PR? Automated backport of apache#9000 to `release/v1.3`. Source: 707849a · [automation run](https://github.com/apache/texera/actions/runs/38821695533) ### Any related issues, documentation, discussions? Backport of apache#9000. ### How was this PR tested? Release-branch CI runs on this branch once the conflicts are resolved and this PR is marked ready for review. ### Was this PR authored or co-authored using generative AI tooling? No. --------- Co-authored-by: Meng Wang <[email protected]> Co-authored-by: mengw15 <[email protected]>
#8830 has since added the CC BY Iris entries, the CC BY 4.0 text and its copy in the RC workflow to release/v1.2, so this branch now applies #9000 as on main: the Iris entries in LICENSE and bin/single-node/LICENSE switch to scikit-learn's BSD 3-Clause copy, the bundle ships licenses/LICENSE-BSD-3-Clause.txt instead of the CC BY text, and licenses/LICENSE-CC-BY-4.0.txt is removed. As on release/v1.3 (#9011), main's Trademarks section (the Apple logo) is left out.

What changes were proposed in this PR?
The single-node examples ship
Iris.csvin both the source release and the docker-compose bundle, andLICENSErecords it as CC BY 4.0 from the UCI repository (#8803). ASF policy allows CC BY works only in binary form ("only include them in binary form", https://www.apache.org/legal/resolved.html), so the file can't be in a source release under that licence.This takes the dataset from the copy scikit-learn distributes under the BSD 3-Clause License instead. The CSV keeps its columns, row order and species names, so the example workflow is unaffected. Only rows 35 and 38 change: they are the two known transcription errors in the UCI copy, which scikit-learn's copy corrects to Fisher's published values.
The
LICENSEentries (root andbin/single-node/) move to BSD 3-Clause, the compose bundle ships the BSD 3-Clause text instead of CC BY 4.0, the now-unusedlicenses/LICENSE-CC-BY-4.0.txtis removed, and the dataset description names the new source. This conflicts with #8997 inLICENSE, since both add the BSD 3-Clause section; whichever lands second merges the two entries.Any related issues, documentation, discussions?
Follows up #8803.
How was this PR tested?
Checked that every row of the new
Iris.csvmatches scikit-learn 1.7.2'siris.csv. Ran the bundle'sgit archiveexport step against this commit to confirm it picks up the BSD 3-Clause text, and checked that the new description still makes valid JSON inload-examples.sh, which inserts it unescaped.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-5-5)