richox opened a new issue, #1537: URL: https://github.com/apache/auron/issues/1537
**Describe the bug** currently an empty scan projection is converted to None, resulting a slow full table scan for queries like `select count(0) from tbl`, <!-- A clear and concise description of what the bug is. --> **To Reproduce** execute `select count(0) from tbl` and see the converted plan. <!-- Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error --> **Expected behavior** projection should be an empty list other then `None` <!-- A clear and concise description of what you expected to happen. --> **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> **Additional context** <!-- Add any other context about the problem here. --> the buggy code: https://github.com/apache/auron/blob/95cfd12737a6bf505b8104b73981dede92b853b5/native-engine/auron-serde/src/from_proto.rs#L1286 -- 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]
