BigQuery is Google's fully managed, petabyte scale, low cost analytics data warehouse.
-
Read Prerequisites and How to run a sample first.
-
Install dependencies:
npm install
View the documentation or the source code.
Run the sample:
node getting_started
View the source code.
Run the sample:
Usage: node dataset_size <projectId> <datasetId>
Example:
node dataset_size bigquery-public-data hacker_news
View the documentation or the source code.
Run the sample:
Usage: node load_data_from_csv <path-to-file> <dataset-id> <table-name>
Example:
node load_data_from_csv resources/data.csv my-dataset my-table
View the documentation or the source code.
Run the sample:
Usage: node load_data_from_gcs <bucket-name> <filename> <dataset-id> <table-name>
Example:
node load_data_from_gcs my-bucket data.csv my-dataset my-table