Skip to content

Commit 59939aa

Browse files
author
Praful Makani
authored
docs(samples): cleanup bigquery samples (googleapis#7308)
1 parent 91cc7ef commit 59939aa

17 files changed

Lines changed: 0 additions & 3766 deletions

‎google-cloud-examples/README.md‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,6 @@ To run examples from your command line:
4444

4545
4. Run an example from the command line using the Maven-generated scripts.
4646

47-
* Here's an example run of `BigQueryExample`.
48-
49-
Before running the example, go to the [Google Developers Console][developers-console] to ensure
50-
that BigQuery API is enabled. You can upload a CSV file `my_csv_file` to the `my_bucket` bucket
51-
(replace `my_csv_file` and `my_bucket` with actual file and bucket names) using the Google Cloud
52-
Storage [web browser](https://console.developers.google.com/storage/browser). The CSV file will
53-
be used to load data into a BigQuery table and should look something like:
54-
```csv
55-
value1
56-
value2
57-
value3
58-
```
59-
Then you are ready to run the following example:
60-
```
61-
target/appassembler/bin/BigQueryExample create dataset new_dataset_id
62-
target/appassembler/bin/BigQueryExample create table new_dataset_id new_table_id field_name:string
63-
target/appassembler/bin/BigQueryExample list tables new_dataset_id
64-
target/appassembler/bin/BigQueryExample load new_dataset_id new_table_id CSV gs://my_bucket/my_csv_file
65-
target/appassembler/bin/BigQueryExample query 'select * from new_dataset_id.new_table_id'
66-
```
67-
6847
* Here's an example run of `ComputeExample`.
6948

7049
Before running the example, go to the [Google Developers Console][developers-console] to ensure

0 commit comments

Comments
 (0)