David-Wobrock / sqlvalidator

SQL queries formatting, syntactic and semantic validation

Home Page:https://pypi.org/project/sqlvalidator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle UNNEST + WITH OFFSET

David-Wobrock opened this issue · comments

A branch already exists with a failing test.

See https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax

{ UNNEST( array_expression ) | UNNEST( array_path ) | array_path }
        [ [ AS ] alias ] [ WITH OFFSET [ [ AS ] alias ] ]