kz930 commented on PR #8488: URL: https://github.com/apache/texera/pull/8488#issuecomment-5768210890
Any workflow where a downstream operator receives no rows. Scan a CSV, put a Filter after it whose condition matches nothing (`age > 200`), and send that into a Sort on `age`. The Sort worker fails with `KeyError: 'age'` instead of finishing with an empty result, because `TableOperator.on_finish` reads the column names off the tuples the port carried, and with no tuples it hands `process_table` a frame of zero columns. With this change the port's declared schema supplies the columns, so Sort sorts an empty table that still has `age` in it and the run completes. The same holds for the visualization operators and for any user-written `UDFTableOperator` that names a column. -- 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]
