File size: 2,039 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": "remove_nullable_column",
  "title": "Remove nullable column",
  "category": "subtractive",
  "description": "A nullable string column that held nulls, an empty string and values is removed. The remaining columns and all rows are unchanged.",
  "notes": [],
  "tags": [
    "remove-field",
    "string",
    "nullable"
  ],
  "row_identity": [
    "id"
  ],
  "versions": [
    {
      "id": "v0",
      "file": "v0.parquet",
      "row_count": 6,
      "fingerprint": "sha256:f90aa90d7b9cd185f9473d9a41283a10cab10e82dc9519f22f3c9633de7d28d6",
      "schema": [
        {
          "name": "id",
          "type": "int64",
          "nullable": false
        },
        {
          "name": "name",
          "type": "string",
          "nullable": true
        },
        {
          "name": "middle_name",
          "type": "string",
          "nullable": true
        }
      ],
      "writer": {
        "use_dictionary": true
      },
      "dictionaries": []
    },
    {
      "id": "v1",
      "file": "v1.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": []
    }
  ],
  "transitions": [
    {
      "from": "v0",
      "to": "v1",
      "mutations": [
        {
          "kind": "remove_field",
          "path": "middle_name",
          "type": "string",
          "nullable": true
        }
      ],
      "invariants": {
        "row_count_preserved": true,
        "row_identity_preserved": true,
        "rows_retained": true,
        "paths_retained": false,
        "common_values_preserved": true,
        "value_changes": [],
        "parquet_schema_preserved": false
      }
    }
  ]
}