Support OVER clause for window/analytic functions

Since this changes SQLFunction anyway, changed its `id` field to `name`,
as we don't seem to use "id" to mean "name" anywhere else.
This commit is contained in:
Nickolay Ponomarev 2019-02-11 03:27:55 +03:00
parent c8e7c3b343
commit d4de248c73
4 changed files with 257 additions and 15 deletions

View file

@ -139,6 +139,7 @@ keyword!(
FIRST_VALUE,
FLOAT,
FLOOR,
FOLLOWING,
FOR,
FOREIGN,
FRAME_ROW,
@ -246,6 +247,7 @@ keyword!(
POSITION_REGEX,
POWER,
PRECEDES,
PRECEDING,
PRECISION,
PREPARE,
PRIMARY,
@ -333,6 +335,7 @@ keyword!(
TRIM_ARRAY,
TRUE,
UESCAPE,
UNBOUNDED,
UNION,
UNIQUE,
UNKNOWN,
@ -488,6 +491,7 @@ pub const ALL_KEYWORDS: &'static [&'static str] = &[
FIRST_VALUE,
FLOAT,
FLOOR,
FOLLOWING,
FOR,
FOREIGN,
FRAME_ROW,
@ -595,6 +599,7 @@ pub const ALL_KEYWORDS: &'static [&'static str] = &[
POSITION_REGEX,
POWER,
PRECEDES,
PRECEDING,
PRECISION,
PREPARE,
PRIMARY,
@ -682,6 +687,7 @@ pub const ALL_KEYWORDS: &'static [&'static str] = &[
TRIM_ARRAY,
TRUE,
UESCAPE,
UNBOUNDED,
UNION,
UNIQUE,
UNKNOWN,