The GitHub Actions job "Build and push images" on texera.git/main has failed.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
69c66a17647f3e530a90486d7acde5b0120cda74 / Kary Zheng 
<[email protected]>
feat(csv-scan): declare the Delimiter as the single character it is (#7261)

### What changes were proposed in this PR?

`customDelimiter` on the three CSV scans is declared as a string with no
length constraint, while every reader narrows it with `charAt(0)` —
univocity's `setDelimiter` and scala-csv's `DefaultCSVFormat.delimiter`
both take a `Char`. Each now declares `maxLength: 1`, and the
description says a single character rather than leaving it implied.

### Why are the changes needed?

Characters past the first are dropped without a word. Driving each
operator's own `sourceSchema()` over a three-column `;`-separated file,
`;abc` infers the same three columns as `;`, and `,;` collapses to one
column exactly as a bare `,` does — so the second character never
participates. A workflow typed that way runs to completion and looks
right, and nothing ever says part of the field was discarded.

### Any related issues, documentation, discussions?

Closes #7211

### How was this PR tested?

`WorkflowOperator/compile`, `scalafmtCheckAll`, `scalafixAll --check`,
and the three operators' descriptor specs (22 tests, three of them added
here for the constraint itself).

### Does this PR introduce any user-facing change?

Yes, and one worth calling out. A saved workflow whose Delimiter holds
more than one character will now show as invalid in the property editor,
since the form validates the stored properties against the schema. It
still runs — the backend does not enforce the schema — and the run
behaves exactly as before, because only the first character ever
counted. Surfacing those workflows is the point: today they are silently
truncating.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5)

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to