You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "kz930 (via GitHub)" <gi...@apache.org> on 2026/08/11 20:44:36 UTC

[PR] fix(workflow-operator): answer the filter on an empty cell instead of throwing [texera]

kz930 opened a new pull request, #7566:
URL: https://github.com/apache/texera/pull/7566

   ### What changes were proposed in this PR?
   
   Substring Search and Unnest String both read their column and called `toString` on it with no null check, so one blank cell took the workflow down with a NullPointerException.
   
   An empty value is ordinary input here. A blank CSV cell arrives as null, since univocity returns null for an empty field and `AttributeTypeUtils.parseField` passes it through by design, its first line being `if (field == null) return null`.
   
   Both now skip, which is what the rest of the codebase does with a value that is not there. `FilterPredicate` answers false for every condition but IS_NULL / IS_NOT_NULL once a field is null; `COUNT(column)` counts only non-null rows, and CONCAT and MIN pass over them; twenty-four operators open their generated Python with `dropna(subset=[...]) #remove missing values`. Substring Search filters the row out, and Unnest String produces no rows, the same way its existing filter drops the empty pieces a run of delimiters produces.
   
   ### Any related issues, documentation, discussions?
   
   Closes #7548
   
   ### How was this PR tested?
   
   Each spec gains the case: `SubstringSearchOpExecSpec` covers an empty cell with an ordinary substring and with the empty substring, and `UnnestStringOpExecSpec` covers an empty cell. Both fail on the previous behavior, 15 passed / 3 failed before the change and 18 / 0 after.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 5)
   


-- 
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): answer the filter on an empty cell instead of throwing [texera]

Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5516616561

   Superseded by #8340, which carries this change together with the rest of its family so the set can be reviewed as one. Closing in favour of that.


-- 
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] fix(workflow-operator): answer the filter on an empty cell instead of throwing [texera]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5258690975

   ## [Codecov](https://app.codecov.io/gh/apache/texera/pull/7566?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 87.88%. Comparing base ([`e878df3`](https://app.codecov.io/gh/apache/texera/commit/e878df3eee7ca3baee7b0c34eceb63548c59e68a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`c012a51`](https://app.codecov.io/gh/apache/texera/commit/c012a513a90e3c84249294477120018360f1c354?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :white_check_mark: All tests successful. No failed tests found.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             Coverage Diff              @@
   ##               main    #7566      +/-   ##
   ============================================
   - Coverage     87.88%   87.88%   -0.01%     
   + Complexity     4276     4273       -3     
   ============================================
     Files          1176     1176              
     Lines         47018    47010       -8     
     Branches       5245     5244       -1     
   ============================================
   - Hits          41323    41315       -8     
     Misses         3972     3972              
     Partials       1723     1723              
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/texera/pull/7566/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/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `70.00% <ø> (ø)` | | |
   | [agent-service](https://app.codecov.io/gh/apache/texera/pull/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `98.62% <ø> (ø)` | | Carriedforward from [e878df3](https://app.codecov.io/gh/apache/texera/commit/e878df3eee7ca3baee7b0c34eceb63548c59e68a?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/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `82.87% <ø> (-0.01%)` | :arrow_down: | Carriedforward from [e878df3](https://app.codecov.io/gh/apache/texera/commit/e878df3eee7ca3baee7b0c34eceb63548c59e68a?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/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `60.38% <ø> (ø)` | | |
   | [config-service](https://app.codecov.io/gh/apache/texera/pull/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `65.97% <ø> (ø)` | | |
   | [file-service](https://app.codecov.io/gh/apache/texera/pull/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `69.05% <ø> (ø)` | | Carriedforward from [e878df3](https://app.codecov.io/gh/apache/texera/commit/e878df3eee7ca3baee7b0c34eceb63548c59e68a?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/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `89.94% <ø> (ø)` | | Carriedforward from [e878df3](https://app.codecov.io/gh/apache/texera/commit/e878df3eee7ca3baee7b0c34eceb63548c59e68a?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/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `78.89% <ø> (ø)` | | |
   | [pyamber](https://app.codecov.io/gh/apache/texera/pull/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `97.52% <ø> (ø)` | | Carriedforward from [e878df3](https://app.codecov.io/gh/apache/texera/commit/e878df3eee7ca3baee7b0c34eceb63548c59e68a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [workflow-compiling-service](https://app.codecov.io/gh/apache/texera/pull/7566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `26.31% <ø> (ø)` | | |
   
   *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/7566?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): answer the filter on an empty cell instead of throwing [texera]

Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 closed pull request #7566: feat(workflow-operator): answer the filter on an empty cell instead of throwing
URL: https://github.com/apache/texera/pull/7566


-- 
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): answer the filter on an empty cell instead of throwing [texera]

Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5391734715

   @carloea2 May you take a look at it?


-- 
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] fix(workflow-operator): answer the filter on an empty cell instead of throwing [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5258645982

   <!-- backport-auto-label-report -->
   ### Backport auto-label report
   
   This `fix:` PR was checked against each actively-supported release branch. `release/*` labels drive the post-merge backport, so add or remove one to change where this fix lands.
   
   | Release branch | Analysis |
   | --- | --- |
   | ✅ `release/v1.2` | Change detected on this branch — label added; this fix is queued to backport here. Requested review from @xuang7. |
   
   _[Auto-label run](https://github.com/apache/texera/actions/runs/31534468758)._


-- 
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): answer the filter on an empty cell instead of throwing [texera]

Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5259302815

   @Yicong-Huang, @aglinxinyuan May you take a look at this?


-- 
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): answer the filter on an empty cell instead of throwing [texera]

Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5392368218

   @aglinxinyuan May you take a look at this, please? Thank you!


-- 
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): answer the filter on an empty cell instead of throwing [texera]

Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5407035032

   /request-review @aglinxinyuan @carloea2


-- 
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] fix(workflow-operator): answer the filter on an empty cell instead of throwing [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5258647045

   <!-- 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:** `@Yicong-Huang`, `@aglinxinyuan`
     You can notify them by mentioning `@Yicong-Huang`, `@aglinxinyuan` 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] fix(workflow-operator): answer the filter on an empty cell instead of throwing [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5258708432

   <!-- texera-benchmarks-comment -->
   ## ⚠️ Benchmark changes need a look
   
   🟢 0 better · 🔴 7 worse · ⚪ 8 noise (<±5%) · 0 without baseline
   
   > Compared against main `e878df3` 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/31534483317)
   
   | | config | throughput | MB/s | latency | max Δ latest / 7d |
   |---|---|---:|---:|---:|---:|
   | 🔴 | bs=10 sw=10 sl=64 | 388 | 0.237 | 25,134/37,096/37,096 us | 🔴 +11.9% / 🔴 +132.0% |
   | 🔴 | bs=100 sw=10 sl=64 | 811 | 0.495 | 121,871/147,990/147,990 us | 🔴 +8.7% / 🔴 +36.9% |
   | 🔴 | bs=1000 sw=10 sl=64 | 907 | 0.554 | 1,101,588/1,214,692/1,214,692 us | 🔴 +9.5% / 🔴 +17.0% |
   
   <details><summary>Baseline details</summary>
   
   Latest main `e878df3` from same runner
   
   | config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
   |---|---|---:|---:|---:|---:|---:|
   | bs=10 sw=10 sl=64 | throughput | 388 tuples/sec | 429 tuples/sec | 784.3 tuples/sec | -9.6% | -50.5% |
   | bs=10 sw=10 sl=64 | MB/s | 0.237 MB/s | 0.262 MB/s | 0.479 MB/s | -9.5% | -50.5% |
   | bs=10 sw=10 sl=64 | p50 | 25,134 us | 22,464 us | 12,590 us | +11.9% | +99.6% |
   | bs=10 sw=10 sl=64 | p95 | 37,096 us | 37,578 us | 15,991 us | -1.3% | +132.0% |
   | bs=10 sw=10 sl=64 | p99 | 37,096 us | 37,578 us | 18,694 us | -1.3% | +98.4% |
   | bs=100 sw=10 sl=64 | throughput | 811 tuples/sec | 849 tuples/sec | 1,002 tuples/sec | -4.5% | -19.1% |
   | bs=100 sw=10 sl=64 | MB/s | 0.495 MB/s | 0.518 MB/s | 0.612 MB/s | -4.4% | -19.1% |
   | bs=100 sw=10 sl=64 | p50 | 121,871 us | 118,429 us | 101,285 us | +2.9% | +20.3% |
   | bs=100 sw=10 sl=64 | p95 | 147,990 us | 136,197 us | 108,068 us | +8.7% | +36.9% |
   | bs=100 sw=10 sl=64 | p99 | 147,990 us | 136,197 us | 118,235 us | +8.7% | +25.2% |
   | bs=1000 sw=10 sl=64 | throughput | 907 tuples/sec | 926 tuples/sec | 1,030 tuples/sec | -2.1% | -11.9% |
   | bs=1000 sw=10 sl=64 | MB/s | 0.554 MB/s | 0.565 MB/s | 0.629 MB/s | -1.9% | -11.9% |
   | bs=1000 sw=10 sl=64 | p50 | 1,101,588 us | 1,083,753 us | 991,882 us | +1.6% | +11.1% |
   | bs=1000 sw=10 sl=64 | p95 | 1,214,692 us | 1,109,229 us | 1,038,496 us | +9.5% | +17.0% |
   | bs=1000 sw=10 sl=64 | p99 | 1,214,692 us | 1,109,229 us | 1,068,265 us | +9.5% | +13.7% |
   
   </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,514.95,200,128000,388,0.237,25134.04,37095.93,37095.93
   1,100,10,64,20,2464.61,2000,1280000,811,0.495,121870.88,147990.33,147990.33
   2,1000,10,64,20,22045.36,20000,12800000,907,0.554,1101587.73,1214691.69,1214691.69
   ```
   
   </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): answer the filter on an empty cell instead of throwing [texera]

Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on PR #7566:
URL: https://github.com/apache/texera/pull/7566#issuecomment-5458375843

   @aglinxinyuan May you take a look at this PR please?


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