Repository navigation
fix(licensing): drop the TMDb example dataset and list the bundled Iris dataset in LICENSE - #8803
Conversation
Automated Reviewer SuggestionsBased on the
|
Backport auto-label reportThis
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The licensing references, paths, and release-bundle packaging are consistent and complete.
Review effort: Balanced
Findings: None
What changed in this PR
Adds complete CC0 licensing attribution for bundled example datasets.
Changes:
- Documents both datasets in source and Docker Compose bundle licenses.
- Includes the referenced CC0 license text in release bundles.
| File | Description |
|---|---|
LICENSE |
Adds dataset attribution and CC0 references. |
bin/single-node/LICENSE |
Documents bundled datasets and their license. |
.github/workflows/create-release-candidate.yml |
Packages the CC0 license text. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
445f30b to
11c2267
Compare
|
Rescoped per release-prep discussion: this now also drops the TMDb dataset and its demo workflow (the uploader's CC0 claim doesn't hold against TMDb's redistribution terms), so it closes #8799 in full. Force-pushed as a single commit. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8803 +/- ##
=========================================
Coverage 92.56% 92.56%
Complexity 5044 5044
=========================================
Files 1251 1251
Lines 53369 53369
Branches 6618 6618
=========================================
Hits 49402 49402
Misses 2320 2320
Partials 1647 1647
☔ 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 | 552 | 0.337 | 18,687/22,190/22,190 us | 🟢 -15.4% / 🔴 +66.5% |
| 🟢 | bs=100 sw=10 sl=64 | 1,201 | 0.733 | 82,583/97,355/97,355 us | 🟢 -15.5% / 🟢 -8.4% |
| ⚪ | bs=1000 sw=10 sl=64 | 1,410 | 0.86 | 710,348/759,875/759,875 us | ⚪ within ±5% / 🟢 -20.4% |
Baseline details
Latest main 5d2bd21 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 552 tuples/sec | 548 tuples/sec | 935.16 tuples/sec | +0.7% | -41.0% |
| bs=10 sw=10 sl=64 | MB/s | 0.337 MB/s | 0.335 MB/s | 0.571 MB/s | +0.6% | -41.0% |
| bs=10 sw=10 sl=64 | p50 | 18,687 us | 17,197 us | 11,225 us | +8.7% | +66.5% |
| bs=10 sw=10 sl=64 | p95 | 22,190 us | 26,217 us | 13,984 us | -15.4% | +58.7% |
| bs=10 sw=10 sl=64 | p99 | 22,190 us | 26,217 us | 17,158 us | -15.4% | +29.3% |
| bs=100 sw=10 sl=64 | throughput | 1,201 tuples/sec | 1,215 tuples/sec | 1,202 tuples/sec | -1.2% | -0.1% |
| bs=100 sw=10 sl=64 | MB/s | 0.733 MB/s | 0.742 MB/s | 0.734 MB/s | -1.2% | -0.1% |
| bs=100 sw=10 sl=64 | p50 | 82,583 us | 80,784 us | 90,147 us | +2.2% | -8.4% |
| bs=100 sw=10 sl=64 | p95 | 97,355 us | 115,165 us | 96,575 us | -15.5% | +0.8% |
| bs=100 sw=10 sl=64 | p99 | 97,355 us | 115,165 us | 104,995 us | -15.5% | -7.3% |
| bs=1000 sw=10 sl=64 | throughput | 1,410 tuples/sec | 1,409 tuples/sec | 1,236 tuples/sec | +0.1% | +14.0% |
| bs=1000 sw=10 sl=64 | MB/s | 0.86 MB/s | 0.86 MB/s | 0.755 MB/s | 0.0% | +14.0% |
| bs=1000 sw=10 sl=64 | p50 | 710,348 us | 714,130 us | 888,237 us | -0.5% | -20.0% |
| bs=1000 sw=10 sl=64 | p95 | 759,875 us | 756,974 us | 927,592 us | +0.4% | -18.1% |
| bs=1000 sw=10 sl=64 | p99 | 759,875 us | 756,974 us | 954,428 us | +0.4% | -20.4% |
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,362.40,200,128000,552,0.337,18687.28,22190.03,22190.03
1,100,10,64,20,1664.97,2000,1280000,1201,0.733,82583.45,97355.42,97355.42
2,1000,10,64,20,14187.01,20000,12800000,1410,0.860,710348.24,759875.27,759875.27
xuang7
left a comment
There was a problem hiding this comment.
Agreed on dropping TMDb. Since we have an example workflow that uses a movie dataset, we can look for an alternative dataset if want to keep that example.
For Iris, the original source (UCI Machine Learning Repository: https://archive.ics.uci.edu/dataset/53/iris) licenses the dataset under CC BY 4.0, rather than CC0 as stated by the Kaggle copy. We should update the LICENSE entry to CC BY 4.0 with the proper attribution (R. A. Fisher, DOI: 10.24432/C56C76) and add the CC BY 4.0 license text under licenses/.
|
Good catch — updated to CC BY 4.0 per the UCI source, with the Fisher attribution and DOI; the CC BY 4.0 text now ships in licenses/ and the compose bundle (a3594fb). Kept the examples Iris-only for now; happy to look for a cleanly-licensed movie dataset as a follow-up. |
a3594fb to
34828ad
Compare
xuang7
left a comment
There was a problem hiding this comment.
The changes look good to me. Two docs mention the removed movie dataset in the agent example prompt, bin/single-node/README.md:139 and docs/getting-started/installing-using-docker.md:150: "For /texera/popular-movies-of-imdb/v1/TMDb_updated.csv, visualize the top 10 most-voted movies." Could you switch it to the Iris dataset?
…ad of UCI (apache#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 (apache#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 apache#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 apache#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? Generated-by: Claude Code (claude-opus-5-5)
…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)
…he#9269) ### What changes were proposed in this PR? Removes 36 image files of unknown origin that Texera never shows (option A on apache#8984). They have no recorded source, so they can't ship in the source release, and since nothing uses them, deleting them is simpler than replacing them. - **35 operator icons** whose names match no registered operator type (`LogicalOp.scala`). Operator icons are only loaded as `assets/operator_images/<operatorType>.png` (`joint-ui.service.ts`), and no code references these files by path. - **`frontend/src/favicon.ico`**: the Angular CLI default favicon from the 2018 scaffold. `index.html` uses the favicons in `assets/logos/`, and `angular.json` only copies `src/assets`, so it was never served. <details> <summary>The 35 operator icons</summary> - **Name not referenced anywhere (25):** `AdhocSink`, `DictionarySource`, `EmojiSentiment`, `FuzzyTokenMatcher`, `FuzzyTokenSource`, `HdfsFileScan`, `JoinDistance`, `LocalFileScan`, `NlpEntity`, `NlpSplit`, `RegexMatcher`, `RegexSource`, `RegexSplit`, `SVMClassifierTrainer`, `SVMRegressorTrainer`, `Sampler`, `SentimentAnalysis`, `SimilarityJoin`, `SklearnDummy`, `SklearnTrainingDummy`, `ToLowerCase`, `WordCloudV2`, `WordCount`, `WordCountIndexSource`, `run-icon` - **Name only in test fixtures, mocks or prose, never as an image path (10):** `Aggregation`, `Comparison`, `FileSource`, `KeywordMatcher`, `KeywordSource`, `NlpSentiment`, `ScanSource`, `SimpleSink`, `TimeSeries`, `ViewResults` `SklearnDummy*.png` matched no operator type; the `SklearnDummyClassifier` operators get their own icons in apache#9261. </details> With this PR, apache#9220 and apache#9261, every remaining file in `frontend/src/assets/operator_images/` is either listed in `LICENSE` or was made by the project (apache#5686, apache#8804, apache#8999, apache#9220, apache#9261). Git history keeps the deleted files if any is ever needed again. ### Any related issues, documentation, discussions? Part of apache#8984 (option A, proposed there on 2026-10-30). Follows apache#9220 and apache#9261. Precedent for deleting unused assets: apache#8803, apache#9020. All 36 files are identical on `release/v1.3`, so this backports cleanly there. ### How was this PR tested? File deletions only, no code change. - Checked each name against the operator registry (`LogicalOp.scala`) and searched the repository for every name and `<name>.png` path: no operator type and no image reference. - The frontend loads operator icons only through `"assets/operator_images/" + operatorType + ".png"`, so a file with no matching operator type is never requested. - `favicon.ico`: not referenced by `index.html` or `angular.json`. `StaticAssetCacheFilterSpec` uses the `/favicon.ico` URL only as a string to test cache headers. - Coverage check after the change: each file left in `operator_images/` is in `LICENSE`, carries a "Created for Apache Texera" PNG notice, or was last written by one of the project-made PRs listed above. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-5-5) Claude Code was used to check the files against the operator registry and code references and to draft this description.
### What changes were proposed in this PR? apache#8803 removed the TMDb example dataset, but the sample agent prompt in the single-node README and the Docker install guide still points at `TMDb_updated.csv`, which the examples loader no longer creates. This switches the prompt to the bundled Iris dataset, using the same `/dataset/` path as the Iris example workflow. ### Any related issues, documentation, discussions? Follow-up to apache#8803, as requested in [its approving review](apache#8803 (review)). `release/v1.2` is not labeled: it still uses unprefixed paths and its install guide has no agent section, so it needs its own one-line README change. ### How was this PR tested? Docs only, so no test was added. The path matches `fileName` in the Iris example workflow, and `Species` and `PetalLengthCm` are columns of `Iris.csv`. The prompt was not run against a live agent. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-5-5)
What changes were proposed in this PR?
Resolves #8799 in full:
(
bin/single-node/examples/datasets/popular-movies-of-imdb/) and its demoworkflow (
[Example] Data Exploration on Movies Dataset.json). The datasetis CC0 only per the Kaggle uploader; the data (including movie overview
text) comes from TMDb, whose terms restrict redistribution, so the CC0
claim does not hold up. The examples loader discovers datasets and
workflows by scanning directories, so no script change is needed; the
single-node examples now ship the Iris dataset and its ML demo workflow.
LICENSE: new CC0 section listing the bundled Iris dataset,referencing
licenses/LICENSE-CC0-1.0.txt(already in-tree).bin/single-node/LICENSE: the same entry with the in-bundle path.create-release-candidate.yml: the compose-bundle step now shipslicenses/LICENSE-CC0-1.0.txt, so the LICENSE reference resolves insidethe bundle.
Any related issues, documentation, discussions?
Closes #8799.
How was this PR tested?
License-text, workflow-config and file removals; YAML parse verified. The
examples loader scans
datasets/*/andworkflows/*.json(checked againstbin/single-node/examples/load-examples.sh). The next RC dispatch exercisesthe changed bundle step.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-fable-5)