You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
An initial Obsidian vault as a knowledge base.
This commit is contained in:
14
docs/WFS_checkWindowFunction.md
Normal file
14
docs/WFS_checkWindowFunction.md
Normal file
@ -0,0 +1,14 @@
|
||||
Statements:
|
||||
- WFS adds extra aux columns into projection.
|
||||
- WFS sorts using the outer ORDER BY key column list()
|
||||
|
||||
jobInfo.windowDels is used as a temp storage to pass unchanged list of jobInfo.deliveredCols(read as projection list of delivered cols) through WFS if there is no GB/DISTINCT involved.
|
||||
GB/DISTINCT can clean the list up on their own.
|
||||
|
||||
This method might implicitly add GB column in case of aggregates over WF and w/o explicit GROUP BY. This is disabled in WFS::AddSimpleColumn
|
||||
```SQL
|
||||
SELECT min(fist_value(i) partition over i) from tab1;
|
||||
```
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user