File size: 2,084 Bytes
80a0e81 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | {
"schema_version": "1.0",
"scenario_id": "add_nullable_string_column",
"title": "Add nullable string column",
"category": "additive",
"description": "A nullable string column is appended. Every existing column, value and row is unchanged. The new column holds both nulls and empty strings, which are different values.",
"notes": [],
"tags": [
"add-field",
"string",
"nullable"
],
"row_identity": [
"id"
],
"versions": [
{
"id": "v0",
"file": "v0.parquet",
"row_count": 6,
"fingerprint": "sha256:ffbd13144dd0c4b932b54b17badd51ef9e9209a5e577a165cab231d0fed9b6d2",
"schema": [
{
"name": "id",
"type": "int64",
"nullable": false
},
{
"name": "name",
"type": "string",
"nullable": true
}
],
"writer": {
"use_dictionary": true
},
"dictionaries": []
},
{
"id": "v1",
"file": "v1.parquet",
"row_count": 6,
"fingerprint": "sha256:3d0adf61168f53d1f9fcfbc45c5b056f18a1acdbfd57826e5dd6d970568ca47c",
"schema": [
{
"name": "id",
"type": "int64",
"nullable": false
},
{
"name": "name",
"type": "string",
"nullable": true
},
{
"name": "customer_segment",
"type": "string",
"nullable": true
}
],
"writer": {
"use_dictionary": true
},
"dictionaries": []
}
],
"transitions": [
{
"from": "v0",
"to": "v1",
"mutations": [
{
"kind": "add_field",
"path": "customer_segment",
"type": "string",
"nullable": true
}
],
"invariants": {
"row_count_preserved": true,
"row_identity_preserved": true,
"rows_retained": true,
"paths_retained": true,
"common_values_preserved": true,
"value_changes": [],
"parquet_schema_preserved": false
}
}
]
}
|