eugenegujing opened a new issue, #7346: URL: https://github.com/apache/texera/issues/7346
### 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 ```shell ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
