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.

Activity

Show:

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created November 10, 2024 at 3:01 PM
Updated December 4, 2024 at 8:45 AM