mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-12-11 14:49:35 +00:00
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:
parent
c8e7c3b343
commit
d4de248c73
4 changed files with 257 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue