You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "carloea2 (via GitHub)" <gi...@apache.org> on 2026/09/30 21:09:50 UTC
[PR] feat(workflow-operator): add full-dataset OLS analysis [texera]
carloea2 opened a new pull request, #8786:
URL: https://github.com/apache/texera/pull/8786
### What changes were proposed in this PR?
Add OLS Analysis with explicit response, predictors, intercept and missing-value handling. Return coefficient inference and model statistics from one full-table fit. Pin statsmodels 0.15.0 and update bundled licenses.
This buffers the full input in one Python worker. Rank-deficient fits are rejected. Standalone Python export is not included.
### Any related issues, documentation, discussions?
Closes #8785
### How was this PR tested?
Local candidate checks: 44 focused Scala tests with real Python math and lifecycle checks passed; all 118 Python descriptors passed generated-code checks. Scala formatting, scalafix, resource Ruff checks and dependency license audits passed.
```text
sbt "WorkflowOperator/testOnly org.apache.texera.amber.operator.statistics.OLSAnalysisOpDescSpec org.apache.texera.amber.operator.sklearn.SklearnLinearRegressionOpDescSpec org.apache.texera.amber.operator.sklearn.training.SklearnTrainingLinearRegressionOpDescSpec org.apache.texera.amber.util.PythonCodeRawInvalidTextSpec org.apache.texera.amber.operator.metadata.OperatorMetadataGeneratorSpec org.apache.texera.amber.operator.LogicalOpSpec"
sbt "WorkflowOperator/scalafix --check" "WorkflowOperator/Test/scalafix --check" scalafmtCheckAll
```
Chrome at 1707 by 979 on localhost: run OLS with and without intercept, save and reimport. For 125 synthetic rows, 121 used and four omitted, results matched base R within 1e-9. Checked missing-value errors, invalid columns and rank deficiency. Set UDF_PYTHON_PATH to Python 3.12 with the declared requirements.
These local checks preceded today's rebase onto upstream main 98d3d4b1ec. Candidate changes are unchanged. Remote CI and the full operating-system matrix are not claimed.
Input and output from the candidate.
| Input | OLS output |
| --- | --- |
|  |  |
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: OpenAI Codex (exact authoring version not recorded).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(workflow-operator): add full-dataset OLS analysis [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8786:
URL: https://github.com/apache/texera/pull/8786#issuecomment-5919915272
<!-- texera-reviewer-suggestion -->
### Automated Reviewer Suggestions
Based on the `git blame` history of the changed files, we recommend the following reviewers:
- **Contributors with relevant context:** `@renovate-bot`, `@PG1204`, `@bobbai00`
You can notify them by mentioning `@renovate-bot`, `@PG1204`, `@bobbai00` in a comment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(workflow-operator): add full-dataset OLS analysis [texera]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@texera.apache.org>.
github-actions[bot] commented on PR #8786:
URL: https://github.com/apache/texera/pull/8786#issuecomment-6904616653
This pull request has been automatically closed due to 37 days of inactivity.
If you would like to continue this work, please re-open the PR or open a new
one referencing this. Thank you for your contribution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(workflow-operator): add full-dataset OLS analysis [Social Sciences Domain Request] [texera]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #8786:
URL: https://github.com/apache/texera/pull/8786#issuecomment-5920121964
## [Codecov](https://app.codecov.io/gh/apache/texera/pull/8786?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 92.58%. Comparing base ([`98d3d4b`](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`90c1c52`](https://app.codecov.io/gh/apache/texera/commit/90c1c5220eac80e139fd076e0cd83aa6193000ef?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #8786 +/- ##
=========================================
Coverage 92.58% 92.58%
Complexity 4963 4963
=========================================
Files 1242 1242
Lines 52885 52885
Branches 6546 6546
=========================================
Hits 48965 48965
Misses 2291 2291
Partials 1629 1629
```
| [Flag](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | *Carryforward flag |
|---|---|---|---|
| [access-control-service](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `77.38% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [agent-service](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `99.16% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [amber](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `88.05% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [computing-unit-managing-service](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `60.41% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [config-service](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `87.37% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [file-service](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `81.53% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [frontend](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `96.55% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [notebook-migration-service](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.73% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [pyamber](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `98.56% <ø> (ø)` | | |
| [workflow-compiling-service](https://app.codecov.io/gh/apache/texera/pull/8786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `74.09% <ø> (ø)` | | Carriedforward from [98d3d4b](https://app.codecov.io/gh/apache/texera/commit/98d3d4b1ec8b02f611801d035c190fa31f56fa47?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
*This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/texera/pull/8786?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(workflow-operator): add full-dataset OLS analysis [Social Sciences Domain Request] [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8786:
URL: https://github.com/apache/texera/pull/8786#issuecomment-5920164436
<!-- texera-benchmarks-comment -->
## ⚠️ Benchmark changes need a look
🟢 2 better · 🔴 3 worse · ⚪ 10 noise (<±5%) · 0 without baseline
> Compared against main `98d3d4b` 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](https://apache.github.io/texera/dev/bench/) · [Run](https://github.com/apache/texera/actions/runs/36777618409)
| | config | throughput | MB/s | latency | max Δ latest / 7d |
|---|---|---:|---:|---:|---:|
| 🔴 | bs=10 sw=10 sl=64 | 318 | 0.194 | 31,117/39,897/39,897 us | 🔴 +21.6% / 🔴 +152.7% |
| 🟢 | bs=100 sw=10 sl=64 | 758 | 0.463 | 128,746/154,582/154,582 us | 🟢 -5.6% / 🔴 +45.6% |
| ⚪ | bs=1000 sw=10 sl=64 | 857 | 0.523 | 1,165,038/1,237,413/1,237,413 us | ⚪ within ±5% / 🔴 +22.3% |
<details><summary>Baseline details</summary>
Latest main `98d3d4b` from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---:|---:|---:|---:|---:|
| bs=10 sw=10 sl=64 | throughput | 318 tuples/sec | 375 tuples/sec | 818.62 tuples/sec | -15.2% | -61.2% |
| bs=10 sw=10 sl=64 | MB/s | 0.194 MB/s | 0.229 MB/s | 0.5 MB/s | -15.3% | -61.2% |
| bs=10 sw=10 sl=64 | p50 | 31,117 us | 25,599 us | 12,404 us | +21.6% | +150.9% |
| bs=10 sw=10 sl=64 | p95 | 39,897 us | 41,224 us | 15,787 us | -3.2% | +152.7% |
| bs=10 sw=10 sl=64 | p99 | 39,897 us | 41,224 us | 18,928 us | -3.2% | +110.8% |
| bs=100 sw=10 sl=64 | throughput | 758 tuples/sec | 745 tuples/sec | 1,058 tuples/sec | +1.7% | -28.4% |
| bs=100 sw=10 sl=64 | MB/s | 0.463 MB/s | 0.454 MB/s | 0.646 MB/s | +2.0% | -28.3% |
| bs=100 sw=10 sl=64 | p50 | 128,746 us | 129,059 us | 99,149 us | -0.2% | +29.9% |
| bs=100 sw=10 sl=64 | p95 | 154,582 us | 163,715 us | 106,165 us | -5.6% | +45.6% |
| bs=100 sw=10 sl=64 | p99 | 154,582 us | 163,715 us | 114,997 us | -5.6% | +34.4% |
| bs=1000 sw=10 sl=64 | throughput | 857 tuples/sec | 875 tuples/sec | 1,088 tuples/sec | -2.1% | -21.2% |
| bs=1000 sw=10 sl=64 | MB/s | 0.523 MB/s | 0.534 MB/s | 0.664 MB/s | -2.1% | -21.2% |
| bs=1000 sw=10 sl=64 | p50 | 1,165,038 us | 1,143,369 us | 971,066 us | +1.9% | +20.0% |
| bs=1000 sw=10 sl=64 | p95 | 1,237,413 us | 1,200,662 us | 1,011,680 us | +3.1% | +22.3% |
| bs=1000 sw=10 sl=64 | p99 | 1,237,413 us | 1,200,662 us | 1,037,719 us | +3.1% | +19.2% |
</details>
<details><summary>Raw CSV</summary>
```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,628.63,200,128000,318,0.194,31116.63,39897.48,39897.48
1,100,10,64,20,2638.30,2000,1280000,758,0.463,128746.05,154581.50,154581.50
2,1000,10,64,20,23341.54,20000,12800000,857,0.523,1165038.26,1237413.28,1237413.28
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(workflow-operator): add full-dataset OLS analysis [texera]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@texera.apache.org>.
github-actions[bot] closed pull request #8786: feat(workflow-operator): add full-dataset OLS analysis
URL: https://github.com/apache/texera/pull/8786
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(workflow-operator): add full-dataset OLS analysis [texera]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@texera.apache.org>.
github-actions[bot] commented on PR #8786:
URL: https://github.com/apache/texera/pull/8786#issuecomment-6729895896
This pull request has been automatically marked as **stale** because it has
not had any activity for 30 days. It will be closed in **7 days** if no
further activity occurs.
If this PR is still relevant, please:
- Push new commits or rebase onto the latest `main`, or
- Comment with a status update, or
- Address any open review feedback.
To exempt this PR from auto-close, a maintainer can add the `pinned` label.
Thank you for your contribution to Apache Texera (incubating)!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org