Skip to content

Instantly share code, notes, and snippets.

@tnachen
Created July 12, 2014 07:32
Show Gist options
  • Save tnachen/366efb2ae2ea3f5f2cfd to your computer and use it in GitHub Desktop.
Save tnachen/366efb2ae2ea3f5f2cfd to your computer and use it in GitHub Desktop.
Drill Window Phase 2
Drill Window Notes:
New Function Scope for Window queries
Function rename in DrillOptiq for window functions, add "_win" perhaps
Let's focus on these window functions:
---------------------------------------
lead
rank
lag
percentile
ExpressionTreeMaterilizer <-- MaterializationContext <-- Need to make sure we're using the right function scope within window queries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment