Skip to content

Text Input emits zero rows when Offset is set and Limit is left empty #7346

Closed

Description

@eugenegujing

What happened?

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?

  1. Add a Text Input source operator.
  2. Paste five lines of text into the Text property (a, b, c, d, e on separate lines).
  3. Leave Attribute Type at its default (string, i.e. one tuple per line).
  4. Set Offset (lines) to 1. Leave Limit (lines) empty.
  5. Run the workflow and view the results.

Observed: zero rows, with the workflow reporting success.
Expected: four rows — b, c, d, e.

Version/Branch

1.3.0-incubating-SNAPSHOT (main)

Commit Hash (Optional)

No response

What browsers are you seeing the problem on?

No response

Relevant log output

Activity

  1. added theissue type on Aug 5, 2026
  2. added 2 commits that reference this issue on Aug 5, 2026
    8ecdb99
    c0d8223
  3. added a commit that references this issue on Aug 10, 2026
    91235fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions