Skip to content

fix(licensing): drop the TMDb example dataset and list the bundled Iris dataset in LICENSE - #8803

Merged
mengw15 merged 4 commits into
apache:mainfrom
mengw15:fix/8799-cc0-datasets-license
Oct 3, 2026
Merged

mengw15 merged 4 commits into
apache:mainfrom
mengw15:fix/8799-cc0-datasets-license

Conversation

@mengw15

@mengw15 mengw15 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Resolves #8799 in full:

  • Drop the TMDb example dataset
    (bin/single-node/examples/datasets/popular-movies-of-imdb/) and its demo
    workflow ([Example] Data Exploration on Movies Dataset.json). The dataset
    is 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.
  • root 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 ships
    licenses/LICENSE-CC0-1.0.txt, so the LICENSE reference resolves inside
    the 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/*/ and workflows/*.json (checked against
bin/single-node/examples/load-examples.sh). The next RC dispatch exercises
the changed bundle step.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (claude-fable-5)

@mengw15
mengw15 requested a balanced review from Copilot October 1, 2026 15:39
@github-actions github-actions Bot added fix ci changes related to CI docs Changes related to documentations infra labels Oct 1, 2026
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @bobbai00
    You can notify them by mentioning @bobbai00 in a comment.

@Yicong-Huang Yicong-Huang added release/v1.3 back porting to release/v1.3 release/v1.2 back porting to release/v1.2 labels Oct 1, 2026
@github-actions
github-actions Bot requested a review from xuang7 October 1, 2026 15:41
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Backport auto-label report

This fix: PR was checked against each actively-supported release branch. A release/* label nominates a backport target; the branch's release manager approving this PR is what sends the fix there. The required Backport Approvals check stays red until every label below is approved, so each manager either approves or removes their own label — which is why the labels left on a merged PR are exactly the branches it reached.

Release branch Analysis
✅ release/v1.3 Already labeled — this fix is queued to backport here.
✅ release/v1.2 Already labeled — this fix is queued to backport here. @xuang7 decides: approving sends the fix here, removing this label declines it. The merge waits on one or the other.

Auto-label run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mengw15
mengw15 force-pushed the fix/8799-cc0-datasets-license branch from 445f30b to 11c2267 Compare October 1, 2026 15:49
@mengw15 mengw15 changed the title fix(licensing): list the bundled CC0 example datasets in LICENSE fix(licensing): drop the TMDb example dataset and list the bundled Iris dataset in LICENSE Oct 1, 2026
@mengw15

mengw15 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Bundled and online documentation still instruct users to query the removed TMDb dataset.

Review effort: Balanced
Findings: None

@codecov-commenter

codecov-commenter commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.56%. Comparing base (5d2bd21) to head (cea8097).

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           
Flag Coverage Δ
access-control-service 77.38% <ø> (ø)
agent-service 99.16% <ø> (ø)
amber 88.07% <ø> (ø)
computing-unit-managing-service 60.41% <ø> (ø)
config-service 87.37% <ø> (ø)
file-service 81.53% <ø> (ø)
frontend 96.56% <ø> (ø)
notebook-migration-service 83.73% <ø> (ø)
pyamber 98.56% <ø> (ø)
workflow-compiling-service 74.09% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Benchmark changes need a look

🟢 4 better · 🔴 1 worse · ⚪ 10 noise (<±5%) · 0 without baseline

Compared against main 5d2bd21 benchmarked on this same runner, so the delta is largely free of cross-runner hardware noise. The "7d avg" column still reflects the gh-pages dashboard. Treat <±5% as noise unless repeated.

Dashboard · Run

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 xuang7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/.

@mengw15

mengw15 commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

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.

@mengw15
mengw15 requested a review from xuang7 October 2, 2026 05:28
@mengw15
mengw15 force-pushed the fix/8799-cc0-datasets-license branch from a3594fb to 34828ad Compare October 2, 2026 19:15

@xuang7 xuang7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@mengw15
mengw15 enabled auto-merge October 3, 2026 07:10
@mengw15
mengw15 added this pull request to the merge queue Oct 3, 2026
Merged via the queue into apache:main with commit b05b620 Oct 3, 2026
40 checks passed
@mengw15
mengw15 deleted the fix/8799-cc0-datasets-license branch October 3, 2026 10:27
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Backport PR opened: draft #8830 (#8830) to release/v1.2, assigned to @mengw15 — needs manual work because the cherry-pick conflicts.

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Backport PR opened: draft #8831 (#8831) to release/v1.3, assigned to @mengw15 — needs manual work because the cherry-pick conflicts.

renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Oct 15, 2026
…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)
Yicong-Huang pushed a commit that referenced this pull request Oct 15, 2026
…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)
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Nov 3, 2026
…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.
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Nov 4, 2026
### 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI docs Changes related to documentations fix infra release/v1.2 back porting to release/v1.2 release/v1.3 back porting to release/v1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker-compose release bundle LICENSE omits the bundled CC0 example datasets

5 participants