The GitHub Actions job "Required Checks" on 
texera.git/backport/6894-correct-filledareaplot-x-value-validatio-v1.2 has 
succeeded.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
b8d86a0a9ff433c51826058d1feeaf24b1f381c7 / Martin Vu 
<[email protected]>
fix: Correct FilledAreaPlot x-value validation across groups (#6894)

### 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 bb7af8df3585a33ad1bd6485846313c1df1259d0)

Generated-by: ChatGPT (GPT-5.5-mini)

Report URL: https://github.com/apache/texera/actions/runs/30431355646

With regards,
GitHub Actions via GitBox

Reply via email to