pcalpha commented on issue #2036: COUNT( 1 ) Spaces ERROR URL: https://github.com/apache/incubator-shardingsphere/issues/2036#issuecomment-485773652 I reviewed the code of SelectItemFiller.java (tags 4.0.0.RC1), it is still not merge the #2306 bug fixs(bc9a5010c12897fd60aaa6f3e8a389e7f7cdd4b4). And I still have the problem. ### SQL: select count( 1 ) from alarm where 1=1 ### Cause: java.lang.IllegalStateException: Can't find index: AggregationSelectItem(type=COUNT, innerExpression=( 1 ), alias=Optional.absent(), derivedAggregationSelectItems=[], index=-1), please add alias for aggregate selections My local maven dependency is <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>sharding-jdbc-core</artifactId> <version>4.0.0-RC1</version> </dependency>
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
