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: docs/api-reference/loaders-storage-targets/schemas-in-warehouse/index.md
+45-3Lines changed: 45 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -961,9 +961,7 @@ Objects can be nullable. Nested fields can also be nullable (same rules as for e
961
961
}
962
962
```
963
963
964
-
If the `"items"` key is missing, the type for the entire array will be `STRING` instead of `REPEATED`.
965
-
966
-
Arrays can be nullable. Nested fields can also be nullable (same rules as for everything else).
964
+
The type of the repeated value is determined by the `"items"` key of the schema. If the `"items"` key is missing, then the repeated type is `STRING`.
967
965
968
966
</td>
969
967
<td>
@@ -1172,6 +1170,50 @@ The row order in this table is important. Type lookup stops after the first matc
1172
1170
<tr>
1173
1171
<td>
1174
1172
1173
+
```json
1174
+
{
1175
+
"type": "object",
1176
+
"properties": {...}
1177
+
}
1178
+
```
1179
+
1180
+
If the `"properties"` key is missing, the type for the entire object will be `STRING` instead of `STRUCT`.
1181
+
1182
+
Objects can be nullable. Nested fields can also be nullable (same rules as for everything else).
1183
+
1184
+
</td>
1185
+
<td>
1186
+
1187
+
`STRUCT`
1188
+
1189
+
</td>
1190
+
</tr>
1191
+
1192
+
<tr>
1193
+
<td>
1194
+
1195
+
```json
1196
+
{
1197
+
"type": "array",
1198
+
"items": {...}
1199
+
}
1200
+
```
1201
+
1202
+
The type of values within the `ARRAY` is determined by the `"items"` key of the schema. If the `"items"` key is missing, then the values within the array will have type `STRING`.
1203
+
1204
+
Arrays can be nullable. Nested fields can also be nullable (same rules as for everything else).
0 commit comments