You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/storage/catalog/bigquery/index.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,16 +51,16 @@ Refer to [Google Cloud's documentation about service accounts](https://cloud.goo
51
51
1. In Segment, go to **Workspace** > **Add Destination** > Search for "BigQuery"
52
52
2. Click **BigQuery**.
53
53
3. Select the source(s) you'd like to sync with the BigQuery destination, and click **Next**.
54
-
3.Add a name for the destination to the **Name your destination** field.
54
+
3.Enter a name for your destination in the **Name your destination** field.
55
55
4. Enter your project ID in the **Project ID** field.
56
-
**Optional:** Enter a [region code](https://cloud.google.com/compute/docs/regions-zones/){:target="_blank"} in the **Location** field (the default will be "US".)
56
+
<br/>**Optional:** Enter a [region code](https://cloud.google.com/compute/docs/regions-zones/){:target="_blank"} in the **Location** field (the default will be "US".)
57
57
5. Copy the contents of the JSON key into the **Credentials** field.
58
58
6. Click **Connect**.
59
-
7. If Segment can connect with the provided **Project ID** and **Credentials**, a warehouse will be created and your first sync should begin shortly.
59
+
7. If Segment can connect with the provided project ID and credentials, a warehouse will be created and your first sync should begin shortly.
60
60
61
61
## Schema
62
62
63
-
BigQuery datasets are broken down into **tables** and **views**. **Tables**
63
+
BigQuery datasets are broken down into [**tables**](#partitioned-tables) and [**views**](#views). **Tables**
tables allow you to query a subset of data, thus increasing query performance
71
71
and decreasing costs.
72
72
73
-
To query a full table, you can query like this:
73
+
To search a full table, use the following query:
74
74
75
75
```sql
76
76
select*
77
77
from<project-id>.<source-name>.<collection-name>
78
78
```
79
79
80
-
To query a specific partitioned table, you can query like this:
80
+
To search a specific partitioned table, use the following query:
81
81
82
82
83
83
```sql
@@ -116,7 +116,7 @@ Account.
116
116
Migrate your warehouse from a shared Service Account to a dedicated Service Account
117
117
by creating a new Service Account using the [Create a Service Account for Segment](#create-a-service-account-for-segment) section.
118
118
Then, head to your warehouse's connection settings and update with the
119
-
**Credentials** you created. Once you've verified that data is loading properly
119
+
credentials you created. Once you've verified that data is loading properly
120
120
to your warehouse, [remove access to the shared Service Account](#remove-access-to-the-shared-service-account).
121
121
122
122
### Remove access to the shared Service Account
@@ -131,7 +131,7 @@ You can remove access to the shared Service Account
131
131
6. On the project's page, select the **Permissions** tab, and then click **view by PRINCIPALS**.
132
132
7. Select the checkbox for the `[email protected]` account and then click **Remove** to remove access to this shared Service Account.
133
133
134
-
For more information about managing IAM access, see Google's documentation, [Manage access to projects, folders, and organization](https://cloud.google.com/iam/docs/granting-changing-revoking-access){:target="_blank"}.
134
+
For more information about managing IAM access, refer to Google's documentation, [Manage access to projects, folders, and organization](https://cloud.google.com/iam/docs/granting-changing-revoking-access){:target="_blank"}.
135
135
136
136
137
137
## Best Practices
@@ -158,7 +158,7 @@ destination table.
158
158
If you typically start exploratory data analysis with `SELECT *` consider
159
159
specifying the fields to reduce costs.
160
160
161
-
See the section on [partitioned tables](#partitioned-tables) for details on
161
+
Refer to the section on [partitioned tables](#partitioned-tables) for details on
162
162
querying sub-sets of tables.
163
163
164
164
@@ -224,4 +224,4 @@ a need for streaming data into BigQuery, [contact Segment support](https://segme
224
224
225
225
### I'm seeing duplicates in my tables.
226
226
227
-
This behavior is expected. Segment only de-duplicates data in your views. See the [schema section](#schema) for more details.
227
+
This behavior is expected. Segment only de-duplicates data in your views. Refer to the [schema section](#schema) for more details.
0 commit comments