HF RL Explorer

Function object has no get window() method and get parameters() breaks with OVER clause

Function object has no get window() method and get parameters() breaks with OVER clause: a task in repo2rlenv-swe-next (Harbor dataset). When parsing a SQL window function like foo(5) over win1 or foo(5) over (PARTITION BY c1) , the Function class doesn't expose a way to retrieve the window…

The task

When parsing a SQL window function like `foo(5) over win1` or `foo(5) over (PARTITION BY c1)`, the `Function` class doesn't expose a way to retrieve the window definition, and `get_parameters()` also returns incorrect results because it blindly grabs `self.tokens[-1]` — which may be the OVER clause rather than the…

Part of FineEnvs/repo2rlenv-swe-next.