Add framing clause parsing, support framing clause for SUM