tylertreat/BigQuery-Python

Standard SQL support

ereli opened this issue · 3 comments

ereli commented

Looking at this it seem that this still uses legacy SQL instead of the new standard SQL
are you considering adding support for Std. SQL instead or in addition legacy SQL?

["[%s.%s]" % (dataset, table) for table in tables])

I don't have any plans to implement this myself at the moment, but I'm happy to accept PRs.

actually, it supports StandardSQL:

def query(self, query, max_results=None, timeout=0, dry_run=False, use_legacy_sql=None, external_udf_uris=None)

job_id, _results = client.query('''put standard sql here''', use_legacy_sql = False)

@ajtkulov good catch, I forgot that was added. :) #101