-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BC Break] Switch to standard SQL by default #640
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the examples should be updated to use standard SQL, something like this should do the trick:
$queryResults = $bigQuery->runQuery('SELECT commit FROM `bigquery-public-data.github_repos.commits` LIMIT 100');
Otherwise, LGTM! :)
src/BigQuery/BigQueryClient.php
Outdated
@@ -194,8 +194,8 @@ public function __construct(array $config = []) | |||
* @type bool $useQueryCache Whether to look for the result in the query | |||
* cache. | |||
* @type bool $useLegacySql Specifies whether to use BigQuery's legacy | |||
* SQL dialect for this query. **Defaults to** `true`. If set to | |||
* false, the query will use | |||
* SQL dialect for this query. **Defaults to** `false`. Unless set to |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@dwsupplee updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful!
* Switch to standard SQL by default * Fix setting of useLegacySql option * Fix job config logic * Address code review
* Run query and wait for it to complete (#604) * Run query and wait for it to complete * Document exception on BigQueryClient::runQuery() * Update snippet test * Add support for etags on bigquery tables and datasets (#634) * [BC Break] Switch to standard SQL by default (#640) * Switch to standard SQL by default * Fix setting of useLegacySql option * Fix job config logic * Address code review * [BC Break] Implement waitUntilComplete and block while waiting for query results (#642) * implement waitUntilComplete on job and block waiting for queryResults * fix getIterator docblock * Generate BigQuery Job ID on client side with optional prefix (#643) * address code review * Introduce remaining BigQuery to GA items (#686) * introduce job configuration classes * update tests/docs and add copy/load * modify retry logic * add create on insert logic
No description provided.