Repository navigation
Conversation
### What changes were proposed in this PR? Fixed the FilledAreaPlot validation logic for grouped data with shared X-values. ```diff - X_values = x_values.union(set(group[$x].unique())) + x_values = x_values.union(set(group[$x].unique())) ``` Previously, the validation incorrectly handled X-value comparisons between groups, causing valid charts to be rejected. The logic was updated so that X-values are tracked across groups correctly when checking whether groups share compatible X attributes. Before: <img width="1197" height="684" alt="Screenshot 2026-07-23 at 2 42 16 AM" src="https://github.com/user-attachments/assets/51936cc6-a207-4afd-94e4-a0206db651ba" /> After: <img width="1198" height="601" alt="Screenshot 2026-07-25 at 2 17 10 AM" src="https://github.com/user-attachments/assets/50dbb422-cad3-4623-92c8-ba5c7ca79dde" /> ### Any related issues, documentation, discussions? Fixes #6728 ### How was this PR tested? Tested by running Texera locally and executing a FilledAreaPlot workflow with grouped data. CSV File: [filled_area_test.csv](https://github.com/user-attachments/files/30370844/filled_area_test.csv) Verified: - Valid grouped charts are accepted and rendered. - Invalid inputs missing X/Y attributes still return the appropriate error message. - Python UDF execution works after generating Python proto bindings and installing required Python dependencies. ### Was this PR authored or co-authored using generative AI tooling? (backported from commit bb7af8d) Generated-by: ChatGPT (GPT-5.5-mini)
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/v1.2 #6998 +/- ##
==================================================
- Coverage 53.95% 52.39% -1.57%
- Complexity 1441 2491 +1050
==================================================
Files 809 1077 +268
Lines 34144 42267 +8123
Branches 3448 4548 +1100
==================================================
+ Hits 18421 22144 +3723
- Misses 14815 18815 +4000
- Partials 908 1308 +400
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
xuang7
approved these changes
Jul 29, 2026
xuang7
deleted the
backport/6894-correct-filledareaplot-x-value-validatio-v1.2
branch
July 29, 2026 18:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Backport of #6894 to
release/v1.2, cherry-picked from bb7af8d. The cherry-pick applied cleanly.Follows the Direct Backport Push convention; opened as a PR (rather than a direct push) per a backport-coverage audit.
Any related issues, documentation, discussions?
Backport of #6894. Originally linked #6728.
How was this PR tested?
Release-branch CI runs on this PR. Cherry-pick applied cleanly onto
release/v1.2; no manual conflict resolution was needed.Was this PR authored or co-authored using generative AI tooling?
Yes — backport prepared with Claude Code (mechanical cherry-pick; the change itself is #6894 by its original author).
🤖 Generated with Claude Code