summaryrefslogtreecommitdiff
path: root/examples/bigquery_view_parser.py
Commit message (Collapse)AuthorAgeFilesLines
* Added test case to bigquery_view_parser.py from #291ptmcg2022-04-301-0/+6
|
* Added another test case to bigquery_view_parser.pyptmcg2022-04-301-0/+24
|
* Fixed bigquery_view_parser.py example to parse examples from ↵ptmcg2022-04-301-88/+260
| | | | https://cloud.google.com/bigquery/docs/reference/legacy-sql
* Added sys.setrecursionlimit for complex query strings; general reformattingPaul McGuire2021-11-131-370/+126
|
* Update __versionTime__; blacken core code and examplesptmcg2021-08-011-47/+226
|
* Code cleanup in examples; move test code into main for ↵ptmcg2020-04-251-18/+25
| | | | bigquery_view_parser.py; change some lambdas to explicit methods for clarity (some discussion in #207); deleted duplicated examples
* enable packrat parsing in all examples using infixNotationptmcg2020-04-071-0/+2
|
* Smedberg/various minor fixes (#173)Michael Smedberg2020-01-231-40/+87
| | | | | | | | | | | | * Support whitespace in column identifier * Support WITH clause nested in UNION clause * SELECT statements can be surrounded by parenthesis * Parse quoted table names * Formatting code with `black`
* Blacken the project (#141)Jon Dufresne2019-10-311-414/+471
|
* Use pyupgrade to upgrade the code to use Python3 conventions (#138)Jon Dufresne2019-10-241-4/+4
| | | | | | | | | | | | The pyupgrade project is available at https://github.com/asottile/pyupgrade and can be installed through pip. The pyupgrade tool automatically upgrades syntax for newer versions of the language. As pyparsing is now Python 3 only, can apply some cleanups and simplifications. Ran the tool using the following command: $ find . -name \*.py -exec pyupgrade --py3-plus {} \; For now, pyparsing.py was skipped while it is refactored to a package.
* BigQuery View parse fails on IGNORE NULLS (#126)Michael Smedberg2019-09-271-3/+14
|
* BigQuery SQL parser: handle WINDOW clause in WITH section (#122)Michael Smedberg2019-09-081-0/+19
|
* Example BigQuery view SQL parser (#112)Michael Smedberg2019-08-041-0/+1510
Example BigQuery view SQL parser