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
233233
234234In order to preserve the quality of your events data, Segment uses the following methods to store objects and arrays in the event tables:
235235
236- <table border = " 1 " cellspacing = " 0 " cellpadding = " 0 " width = " 100% " >
236+ <table >
237237<tr >
238- <th> Value Type </th>
239- <th> Field Type </th>
240- <th> Transformation </th>
241- <th> Schema (Example) </th>
238+ <th> Field </th>
242239 <th> Code (Example) </th>
240+ <th> Schema (Example) </th>
243241</tr >
244242
245243<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 >
261256 <b>Column Name:</b><br/>
262257 context_app_version
263258 <br/><br/>
264259 <b>Value:</b><br/>
265260 "1.0.0"
266- </td>
261+ </td >
267262</tr >
268263
269264<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">
274267
275268``` json
276269traits: {
@@ -291,10 +284,8 @@ address_street<br/>
291284</tr >
292285
293286<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 " >
298289
299290``` json
300291properties: {
@@ -303,7 +294,6 @@ properties: {
303294 }
304295}
305296```
306-
307297</td >
308298<td >
309299 <b>Column Name:</b><br/>
@@ -314,17 +304,13 @@ properties: {
314304</tr >
315305
316306<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 " >
323309
324310``` json
325311products: {
326312 product_id: [
327- " 507f1f77bcf86cd799439011 " , " 505bd76785ebb509fc183733 "
313+ " 507f1 " , " 505bd "
328314 ]
329315}
330316```
@@ -334,7 +320,7 @@ products: {
334320 <b>Column Name:</b> <br/>
335321 product_id <br/><br/>
336322 <b>Value:</b>
337- "[507f1f77bcf86cd799439011, 505bd76785ebb509fc183733 ]"
323+ "[507f1, 505bd ]"
338324</td >
339325</tr >
340326</table >
You can’t perform that action at this time.
0 commit comments