Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/py-polars/tests/unit/io/files/iceberg-table/metadata/v2.metadata.json
6940 views
1
{
2
"format-version" : 1,
3
"table-uuid" : "c470045a-5d75-48aa-9d4b-86a86a9b1fce",
4
"location" : "/tmp/iceberg/t1",
5
"last-updated-ms" : 1694547405299,
6
"last-column-id" : 3,
7
"schema" : {
8
"type" : "struct",
9
"schema-id" : 0,
10
"fields" : [ {
11
"id" : 1,
12
"name" : "id",
13
"required" : false,
14
"type" : "int"
15
}, {
16
"id" : 2,
17
"name" : "str",
18
"required" : false,
19
"type" : "string"
20
}, {
21
"id" : 3,
22
"name" : "ts",
23
"required" : false,
24
"type" : "timestamp"
25
} ]
26
},
27
"current-schema-id" : 0,
28
"schemas" : [ {
29
"type" : "struct",
30
"schema-id" : 0,
31
"fields" : [ {
32
"id" : 1,
33
"name" : "id",
34
"required" : false,
35
"type" : "int"
36
}, {
37
"id" : 2,
38
"name" : "str",
39
"required" : false,
40
"type" : "string"
41
}, {
42
"id" : 3,
43
"name" : "ts",
44
"required" : false,
45
"type" : "timestamp"
46
} ]
47
} ],
48
"partition-spec" : [ {
49
"name" : "ts_day",
50
"transform" : "day",
51
"source-id" : 3,
52
"field-id" : 1000
53
} ],
54
"default-spec-id" : 0,
55
"partition-specs" : [ {
56
"spec-id" : 0,
57
"fields" : [ {
58
"name" : "ts_day",
59
"transform" : "day",
60
"source-id" : 3,
61
"field-id" : 1000
62
} ]
63
} ],
64
"last-partition-id" : 1000,
65
"default-sort-order-id" : 0,
66
"sort-orders" : [ {
67
"order-id" : 0,
68
"fields" : [ ]
69
} ],
70
"properties" : {
71
"owner" : "fokkodriesprong"
72
},
73
"current-snapshot-id" : 7051579356916758811,
74
"refs" : {
75
"main" : {
76
"snapshot-id" : 7051579356916758811,
77
"type" : "branch"
78
}
79
},
80
"snapshots" : [ {
81
"snapshot-id" : 7051579356916758811,
82
"timestamp-ms" : 1694547405299,
83
"summary" : {
84
"operation" : "append",
85
"spark.app.id" : "local-1694547283063",
86
"added-data-files" : "2",
87
"added-records" : "3",
88
"added-files-size" : "1788",
89
"changed-partition-count" : "2",
90
"total-records" : "3",
91
"total-files-size" : "1788",
92
"total-data-files" : "2",
93
"total-delete-files" : "0",
94
"total-position-deletes" : "0",
95
"total-equality-deletes" : "0"
96
},
97
"manifest-list" : "/tmp/iceberg/t1/metadata/snap-7051579356916758811-1-aef5d952-7e24-4764-9b30-3483be37240f.avro",
98
"schema-id" : 0
99
} ],
100
"statistics" : [ ],
101
"snapshot-log" : [ {
102
"timestamp-ms" : 1694547405299,
103
"snapshot-id" : 7051579356916758811
104
} ],
105
"metadata-log" : [ {
106
"timestamp-ms" : 1694547211303,
107
"metadata-file" : "/tmp/iceberg/t1/metadata/v1.metadata.json"
108
} ]
109
}
110