iisheng commented on code in PR #19287:
URL: https://github.com/apache/shardingsphere/pull/19287#discussion_r925127690
##########
shardingsphere-infra/shardingsphere-infra-binder/src/main/java/org/apache/shardingsphere/infra/binder/segment/select/projection/engine/ProjectionEngine.java:
##########
@@ -125,8 +128,16 @@ private ColumnProjection createProjection(final
ColumnProjectionSegment projecti
return new ColumnProjection(owner,
projectionSegment.getColumn().getIdentifier().getValue(),
projectionSegment.getAlias().orElse(null));
}
- private ExpressionProjection createProjection(final
ExpressionProjectionSegment projectionSegment) {
- return new ExpressionProjection(projectionSegment.getText(),
projectionSegment.getAlias().orElse(null));
+ private ExpressionProjection createProjection(final TableSegment table,
final ExpressionProjectionSegment projectionSegment) {
Review Comment:
OK, I'll do that.
--
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]