File tree Expand file tree Collapse file tree 1 file changed +24
-38
lines changed
src/connections/storage/warehouses Expand file tree Collapse file tree 1 file changed +24
-38
lines changed Original file line number Diff line number Diff line change @@ -233,44 +233,37 @@ ORDER by column_name
233
233
234
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:
235
235
236
- <table border = " 1 " cellspacing = " 0 " cellpadding = " 0 " width = " 100% " >
236
+ <table >
237
237
<tr >
238
- <th> Value Type </th>
239
- <th> Field Type </th>
240
- <th> Transformation </th>
241
- <th> Schema (Example) </th>
238
+ <th> Field </th>
242
239
<th> Code (Example) </th>
240
+ <th> Schema (Example) </th>
243
241
</tr >
244
242
245
243
<tr >
246
- <td ><b >Object</b ></td >
247
- <td > Context </td >
248
- <td > Flatten </td >
249
- <td >
250
-
251
- ``` json
252
- context: {
253
- app: {
254
- version: "1.0.0"
255
- }
256
- }
257
- ```
258
-
259
- </td >
260
- <td>
244
+ <td ><b >Object (Context):</b > Flatten </td >
245
+ <td markdown =" 1 " >
246
+
247
+ ``` json
248
+ context: {
249
+ app: {
250
+ version: "1.0.0"
251
+ }
252
+ }
253
+ ```
254
+ </td >
255
+ <td >
261
256
<b>Column Name:</b><br/>
262
257
context_app_version
263
258
<br/><br/>
264
259
<b>Value:</b><br/>
265
260
"1.0.0"
266
- </td>
261
+ </td >
267
262
</tr >
268
263
269
264
<tr >
270
- <td></td>
271
- <td> Traits </td>
272
- <td> Flatten </td>
273
- <td>
265
+ <td> <b>Object (Traits):</b> Flatten </td>
266
+ <td markdown= "1">
274
267
275
268
``` json
276
269
traits: {
@@ -291,10 +284,8 @@ address_street<br/>
291
284
</tr >
292
285
293
286
<tr >
294
- <td ></td >
295
- <td >Properties </td >
296
- <td >Stringify</td >
297
- <td >
287
+ <td ><b >Object (Properties):</b > Stringify</td >
288
+ <td markdown =" 1 " >
298
289
299
290
``` json
300
291
properties: {
@@ -303,7 +294,6 @@ properties: {
303
294
}
304
295
}
305
296
```
306
-
307
297
</td >
308
298
<td >
309
299
<b>Column Name:</b><br/>
@@ -314,17 +304,13 @@ properties: {
314
304
</tr >
315
305
316
306
<tr >
317
- <td >
318
- <b>Array</b>
319
- </td >
320
- <td >Any</td >
321
- <td >Stringify</td >
322
- <td >
307
+ <td ><b >Array (Any):</b > Stringify</td >
308
+ <td markdown =" 1 " >
323
309
324
310
``` json
325
311
products: {
326
312
product_id: [
327
- " 507f1f77bcf86cd799439011 " , " 505bd76785ebb509fc183733 "
313
+ " 507f1 " , " 505bd "
328
314
]
329
315
}
330
316
```
@@ -334,7 +320,7 @@ products: {
334
320
<b>Column Name:</b> <br/>
335
321
product_id <br/><br/>
336
322
<b>Value:</b>
337
- "[507f1f77bcf86cd799439011, 505bd76785ebb509fc183733 ]"
323
+ "[507f1, 505bd ]"
338
324
</td >
339
325
</tr >
340
326
</table >
You can’t perform that action at this time.
0 commit comments