IneverStop commented on issue #18487: URL: https://github.com/apache/shardingsphere/issues/18487#issuecomment-1161340774
```java org.apache.shardingsphere.infra.binder.segment.select.projection.engine.ProjectionEngine private Collection<ColumnProjection> getColumnProjections(final Collection<Projection> projections) { Collection<ColumnProjection> result = new LinkedList<>(); for (Projection each : projections) { if (each instanceof ColumnProjection) { result.add((ColumnProjection) each); } if (each instanceof ShorthandProjection) { result.addAll(((ShorthandProjection) each).getActualColumns().values()); } } return result; } ``` `id + 1` is a `ExpressionProjection`, so this function will skip `ExpressionProjection`, may be this occur the problem. -- 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: notifications-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org