eugenegujing opened a new issue, #7765: URL: https://github.com/apache/texera/issues/7765
### Task Summary The Projection operator has a boolean `isDrop` property (surfaced in the UI as "Drop Option") that inverts what the operator does: with it off, the listed attributes are kept and renamed to their aliases; with it on, the listed attributes are removed and everything else is kept under its original name. Both the runtime tuple rewrite (`ProjectionOpExec.scala:40-51`) and the compile-time output-schema derivation (`ProjectionOpDesc.scala:67-71`) branch on this flag. No test in the repository ever sets `isDrop` to `true`. The two dedicated specs (`ProjectionOpExecSpec`, 7 tests; `ProjectionOpDescSpec`, 12 tests) leave it at its `false` default throughout, so the entire drop half of a user-facing option runs uncovered: which attributes the exec emits and in what order, what the propagated output schema contains, whether the two agree, and what happens when dropping a non-existent attribute or all of them. ### Task Type - [ ] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [x] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other -- 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]
