-
Notifications
You must be signed in to change notification settings - Fork 1k
[BigQuery] Add Export Command and clean up Doc Blocks #144
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
Conversation
7b2e85a to
5b1cc2a
Compare
c1614a4 to
d77523b
Compare
- fixes docblocks - adds BrowseTableCommand, TablesCommand, and ProjectsCommand - adds test - adds GOOGLE_KEY_FILE for listing projects
| test_table2 | ||
| test_table3 | ||
| ``` | ||
|
|
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.
Can you provide help text for each subcommand? If so, can we stop having example output in the README since you can put such output in the help text which is little bit better from maintenance standpoint? My only worry is the document will easily become stale.
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.
Good idea!
| { | ||
| if (!$projectId = $input->getOption('project')) { | ||
| if (!$projectId = $this->detectProjectId()) { | ||
| throw new Exception('Could not derive a project ID from gloud. ' . |
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.
TYPO:
gloud -> gcloud
|
LGTM |
appengine/standard/http/app.php
Outdated
|
|
||
| # [START guzzle_request] | ||
| $url = 'http://httpbin.org/post?query=update'; | ||
| $url = 'https://httpbin.org/post?query=update'; |
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.
As I said before, this test depends on external resource which may change anytime. I think we should use something else that we can fully control.
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 can be done in another PR.
(also it's not related to bigquery, so shouldn't it be another PR?)
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.
I respectfully disagree, and I do not see how this is relevant. I updated this to test HTTPS for a separate issue, it has nothing to do with a problem using an external resource.
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's not relevant, but we should not rely on external site in general
No description provided.