File size: 2,273 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
{
  "schema_version": "1.0",
  "scenario_id": "string_to_large_string",
  "title": "string to large_string",
  "category": "representation",
  "description": "A string column becomes large_string (64-bit offsets). Values are unchanged; they include an empty string, whitespace, the literal text NULL, CJK, an emoji, and 'cafe' with the accent both composed (U+00E9) and decomposed (e + U+0301).",
  "notes": [
    "The difference exists only in the stored Arrow schema. Both files have the same Parquet schema (BYTE_ARRAY, String), so a reader that ignores the Arrow schema sees no change at all."
  ],
  "tags": [
    "change-type",
    "string",
    "offsets",
    "unicode",
    "arrow-only"
  ],
  "row_identity": [
    "id"
  ],
  "versions": [
    {
      "id": "v0",
      "file": "v0.parquet",
      "row_count": 8,
      "fingerprint": "sha256:af037b683e64ba1bd9e63dd778b55bea85f8e898f85becfa6f4450ba01a036c7",
      "schema": [
        {
          "name": "id",
          "type": "int64",
          "nullable": false
        },
        {
          "name": "label",
          "type": "string",
          "nullable": true
        }
      ],
      "writer": {
        "use_dictionary": true
      },
      "dictionaries": []
    },
    {
      "id": "v1",
      "file": "v1.parquet",
      "row_count": 8,
      "fingerprint": "sha256:4ed55bd1dd61a05cd056a56e3d0554a6f764bd6a03522e3189372a421d692f9d",
      "schema": [
        {
          "name": "id",
          "type": "int64",
          "nullable": false
        },
        {
          "name": "label",
          "type": "large_string",
          "nullable": true
        }
      ],
      "writer": {
        "use_dictionary": true
      },
      "dictionaries": []
    }
  ],
  "transitions": [
    {
      "from": "v0",
      "to": "v1",
      "mutations": [
        {
          "kind": "change_type",
          "path": "label",
          "old_type": "string",
          "new_type": "large_string"
        }
      ],
      "invariants": {
        "row_count_preserved": true,
        "row_identity_preserved": true,
        "rows_retained": true,
        "paths_retained": true,
        "common_values_preserved": true,
        "value_changes": [],
        "parquet_schema_preserved": true
      }
    }
  ]
}