You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text Input emits zero rows when Offset is set and Limit is left empty #7346
TextInputSourceOpExec computes the end of its slice as offset + limit.getOrElse(Int.MaxValue). When the user sets an Offset and leaves Limit empty, that addition overflows to a negative number and the operator emits no rows at all, silently and with no error — the workflow reports success. Any Offset ≥ 1 with an empty Limit is affected.
Expected: Offset = 1 with an empty Limit reads from line 1 to the end of the input.
How to reproduce?
Add a Text Input source operator.
Paste five lines of text into the Text property (a, b, c, d, e on separate lines).
Leave Attribute Type at its default (string, i.e. one tuple per line).
Set Offset (lines) to 1. Leave Limit (lines) empty.
Run the workflow and view the results.
Observed: zero rows, with the workflow reporting success.
Expected: four rows — b, c, d, e.
Activity
fix(workflow-operator): Text Input offset with an empty limit emits n…
fix(workflow-operator): text input operator using offset with an empt…
fix(workflow-operator): Text Input operator using offset with an empt…