[jOOQ/jOOQ#12520] Parser should support PERCENTILE_CONT /
PERCENTILE_DISC with expressions as percentiles
This commit is contained in:
parent
a26e6f7676
commit
53db69b8f9
@ -11299,12 +11299,12 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
|
||||
if (parseFunctionNameIf("PERCENTILE_CONT")) {
|
||||
parse('(');
|
||||
ordered = percentileCont(parseFieldUnsignedNumericLiteral(Sign.NONE));
|
||||
ordered = percentileCont((Field) parseField());
|
||||
parse(')');
|
||||
}
|
||||
else if (parseFunctionNameIf("PERCENTILE_DISC")) {
|
||||
parse('(');
|
||||
ordered = percentileDisc(parseFieldUnsignedNumericLiteral(Sign.NONE));
|
||||
ordered = percentileDisc((Field) parseField());
|
||||
parse(')');
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user