[SERVER-77952] Implement window function for $locf Created: 09/Jun/23  Updated: 23/Jun/23  Resolved: 23/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Rui Liu Assignee: Projjal Chanda
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Comments   
Comment by Projjal Chanda [ 19/Jun/23 ]

$locf can be implemented using existing vm primitives as

let (s = aggState())
  if (isnull(fillEmpty(input))) return s 
  else return input 

Generated at Thu Feb 08 06:37:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.