MySQL 'every' emulation broken when used as window function
Description
When using the every function as window function (i.e. with an over clause) on MySQL, the current implementation produces wrong SQL.
E.g. a HQL query like
produces
I suppose that it uses a pattern renderer which doesn’t work in this case when used as window function, because the over clause must come directly after the function invocation. The =0 part is misplaced.
When using the
every
function as window function (i.e. with anover
clause) on MySQL, the current implementation produces wrong SQL.E.g. a HQL query like
produces
I suppose that it uses a pattern renderer which doesn’t work in this case when used as window function, because the
over
clause must come directly after the function invocation. The=0
part is misplaced.