HHH-18168 Use count(*) instead of count(1) for size() translation
This commit is contained in:
parent
11da1ec25a
commit
47b63e51b9
|
@ -4670,7 +4670,7 @@ public abstract class BaseSqmToSqlAstConverter<T extends Statement> extends Base
|
|||
final Expression expression = new SelfRenderingAggregateFunctionSqlAstExpression(
|
||||
functionDescriptor.getName(),
|
||||
functionDescriptor,
|
||||
singletonList( new QueryLiteral<>( 1, integerType ) ),
|
||||
singletonList( Star.INSTANCE ),
|
||||
null,
|
||||
integerType,
|
||||
integerType
|
||||
|
|
Loading…
Reference in New Issue