https://github.com/scraly/bigquery
Google BigQuery AaaS tools, tips and fun
https://github.com/scraly/bigquery
bigquery java
Last synced: about 1 month ago
JSON representation
Google BigQuery AaaS tools, tips and fun
- Host: GitHub
- URL: https://github.com/scraly/bigquery
- Owner: scraly
- Created: 2016-10-10T12:48:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-11T07:34:57.000Z (over 9 years ago)
- Last Synced: 2025-02-16T14:23:27.065Z (over 1 year ago)
- Topics: bigquery, java
- Language: Java
- Size: 164 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bigquery
## General
Google BigQuery is a fast, economical and fully managed data warehouse for large-scale data analytics.
1. If you're new to BQ, take a look at: https://cloud.google.com/bigquery/what-is-bigquery
2. Sign up for a free BigQuery trial: https://console.cloud.google.com/freetrial?pli=1
3. Here you can find BigQuery UI console: https://bigquery.cloud.google.com/welcome
4. In this git repository you can find some tooltip and useful (i guess) classes
5. If you want to know more about BQ, you can take a look at my slides: http://www.slideshare.net/aurelievache/dans-les-coulisses-de-google-bigquery?qid=d0fe2426-ecf9-411e-a6f7-a63351490934&v=&b=&from_search=1
##BQ command line tool
### Adding a column to a table
```bq --format=prettyjson show yourdataset.yourtable > newschema.json```
Edit table.json and remove everything except the inside of "fields" (e.g. keep the [ { "name": "x" ... }, ... ]). Then add your new field to the schema. Then run, for each table:
```bq update . newschema.json```
You can add --apilog=apilog.txt to the beginning of the command line which will show exactly what is sent / returned from the bigquery server.
Enjoy BQ!