HHH-18168 Use count(*) instead of count(1) for size() translation

This commit is contained in:
Christian Beikov 2024-05-27 14:45:38 +02:00
parent 11da1ec25a
commit 47b63e51b9
1 changed files with 1 additions and 1 deletions

View File

@ -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