The GitHub Actions job "Required Checks" on 
texera.git/fix/barchart-empty-category-6792 has failed.
Run started by GitHub user kz930 (triggered by kz930).

Head commit for run:
583172e1bd9ee76e378403bb632a7d5d581316e9 / kary zheng <[email protected]>
fix(BarChart): treat an empty categoryColumn as no category

categoryColumn's Scala default is "" (the JSON defaultValue "No Selection"
is schema metadata, not applied to the var). generatePythonCode compared only
against "No Selection", so an unset category made isCategoryColumn = True and
the empty column name flowed into px.bar(color=""), raising at runtime. Guard
against empty too so an unset category yields color=None.

Adds a regression test asserting the color site is guarded to None (no
`... if True else None`) for an unset categoryColumn.

Closes #6792

Co-Authored-By: Claude Opus 4.8 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to