final class UnsupportedWindowing
    implements Diagnostic
    uses Snapshot
Public API: explicitly declared with @visibility public.

A window function or window specification that uses a part of the syntax the server does not support.

Source: https://dev.mysql.com/doc/refman/8.4/en/window-function-restrictions.html.

Reading the problem of an unsupported frame unitdoctest
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT SUM(1) OVER (GROUPS UNBOUNDED PRECEDING)') // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticException: This version of MySQL doesn't yet support 'GROUPS'

Properties§

Methods§

public function __construct(public WindowingLimit $limit)

Parameters

$limitWindowingLimitThe unsupported part
public function message(): string

Describes the problem in the words of the server.

Returns

string
Test cases 1

Test cases 5§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 4

Relations§

Instantiated in 6