Skip to content

Commit 457fece

Browse files
committed
Making changes requested in code review!
1 parent 8d42cf0 commit 457fece

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

src/connections/storage/warehouses/schema.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -231,26 +231,28 @@ ORDER by column_name
231231

232232
### How event tables handle nested objects and arrays
233233

234-
In order to preserve the quality of your events data, Segment uses the following methods to store objects and arrays in the event tables:
234+
To preserve the quality of your events data, Segment uses the following methods to store objects and arrays in the event tables:
235235

236236
<table>
237+
<thead>
237238
<tr>
238239
<th> Field </th>
239240
<th> Code (Example) </th>
240241
<th> Schema (Example) </th>
241242
</tr>
243+
</thead>
242244

243245
<tr>
244246
<td><b>Object (Context):</b> Flatten </td>
245247
<td markdown="1">
246248

247-
``` json
248-
context: {
249-
app: {
250-
version: "1.0.0"
251-
}
249+
``` json
250+
context: {
251+
app: {
252+
version: "1.0.0"
252253
}
253-
```
254+
}
255+
```
254256
</td>
255257
<td>
256258
<b>Column Name:</b><br/>
@@ -267,9 +269,9 @@ In order to preserve the quality of your events data, Segment uses the following
267269

268270
```json
269271
traits: {
270-
address: {
271-
street: "6th Street"
272-
}
272+
address: {
273+
street: "6th Street"
274+
}
273275
}
274276
```
275277

@@ -289,9 +291,9 @@ address_street<br/>
289291

290292
```json
291293
properties: {
292-
product_id: {
293-
sku: "G-32"
294-
}
294+
product_id: {
295+
sku: "G-32"
296+
}
295297
}
296298
```
297299
</td>
@@ -309,9 +311,9 @@ properties: {
309311

310312
```json
311313
products: {
312-
product_id: [
313-
"507f1", "505bd"
314-
]
314+
product_id: [
315+
"507f1", "505bd"
316+
]
315317
}
316318
```
317319

0 commit comments

Comments
 (0)