Skip to content

Fix outdated comment referencing OAuth #36

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

Merged
merged 1 commit into from
Sep 10, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix outdated comment referencing OAuth
  • Loading branch information
Jerjou Cheng committed Sep 10, 2015
commit 9e2ce249ab29c96cd84e493a1971ebfb351b4a97
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ public static void main(String[] args) throws IOException {
}
String projectId = sc.nextLine();

// Create a new Bigquery client authorized via OAuth 2.0 protocol
// dataStoreFactory = new FileDataStoreFactory(DATA_STORE_DIR);
// Create a new Bigquery client authorized via Application Default Credentials.
Bigquery bigquery = createAuthorizedClient();

List<TableRow> rows = executeQuery("SELECT TOP(corpus, 10) as title, COUNT(*) as unique_words "
Expand Down