Skip to content

Commit e54e471

Browse files
same data file schemas and table configs update for v1.7 release (#100)
1 parent 9886e39 commit e54e471

File tree

5 files changed

+216
-60
lines changed

5 files changed

+216
-60
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"fields": [
3+
{
4+
"name": "stationname (Group by 1)",
5+
"type": {
6+
"indices": {
7+
"isSigned": true,
8+
"bitWidth": 32
9+
},
10+
"dictionary": {},
11+
"isOrdered": false,
12+
"id": 0
13+
},
14+
"nullable": true,
15+
"metadata": {}
16+
},
17+
{
18+
"name": "daytype",
19+
"type": {
20+
"isSigned": true,
21+
"bitWidth": 64
22+
},
23+
"nullable": true,
24+
"metadata": {}
25+
},
26+
{
27+
"name": "rides",
28+
"type": {
29+
"isSigned": true,
30+
"bitWidth": 64
31+
},
32+
"nullable": true,
33+
"metadata": {}
34+
},
35+
{
36+
"name": "date",
37+
"type": {
38+
"isSigned": true,
39+
"bitWidth": 64
40+
},
41+
"nullable": true,
42+
"metadata": {}
43+
}
44+
],
45+
"metadata": {},
46+
"dictionaries": {}
47+
}

data/superstore.csv.table.json

Lines changed: 87 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,202 +1,244 @@
11
{
22
"columns": [
33
{
4+
"width": 52,
45
"minWidth": 40,
56
"download": false,
67
"formatter": "rowSelection",
78
"titleFormatter": "rowSelection",
89
"resizable": true,
9-
"headerSort": false,
10-
"width": 52
10+
"headerSort": false
1111
},
1212
{
1313
"field": "Row ID",
1414
"title": "Row ID",
15+
"width": 101,
1516
"minWidth": 40,
1617
"resizable": true,
1718
"sorter": "number",
18-
"headerSort": true,
19-
"width": 101
19+
"headerSort": true
2020
},
2121
{
2222
"field": "Order ID",
2323
"title": "Order ID",
24+
"width": 115,
2425
"minWidth": 40,
2526
"resizable": true,
2627
"sorter": "string",
27-
"headerSort": true,
28-
"width": 115
28+
"headerSort": true
2929
},
3030
{
3131
"field": "Order Date",
3232
"title": "Order Date",
33+
"width": 126,
3334
"minWidth": 40,
3435
"resizable": true,
3536
"sorter": "number",
36-
"headerSort": true,
37-
"width": 126
37+
"headerSort": true
3838
},
3939
{
4040
"field": "Ship Date",
4141
"title": "Ship Date",
42+
"width": 116,
4243
"minWidth": 40,
4344
"resizable": true,
4445
"sorter": "number",
45-
"headerSort": true,
46-
"width": 116
46+
"headerSort": true
4747
},
4848
{
4949
"field": "Ship Mode",
5050
"title": "Ship Mode",
51+
"width": 123,
5152
"minWidth": 40,
5253
"resizable": true,
5354
"sorter": "string",
54-
"headerSort": true,
55-
"width": 123
55+
"headerSort": true
5656
},
5757
{
5858
"field": "Customer ID",
5959
"title": "Customer ID",
60+
"width": 134,
6061
"minWidth": 40,
6162
"resizable": true,
6263
"sorter": "string",
63-
"headerSort": true,
64-
"width": 134
64+
"headerSort": true
6565
},
6666
{
6767
"field": "Customer Name",
6868
"title": "Customer Name",
69+
"width": 157,
6970
"minWidth": 40,
7071
"resizable": true,
7172
"sorter": "string",
72-
"headerSort": true,
73-
"width": 157
73+
"headerSort": true
7474
},
7575
{
7676
"field": "Segment",
7777
"title": "Segment",
78+
"width": 112,
7879
"minWidth": 40,
7980
"resizable": true,
8081
"sorter": "string",
81-
"headerSort": true,
82-
"width": 112
82+
"headerSort": true
8383
},
8484
{
8585
"field": "Country",
8686
"title": "Country",
87+
"width": 106,
8788
"minWidth": 40,
8889
"resizable": true,
8990
"sorter": "string",
90-
"headerSort": true,
91-
"width": 106
91+
"headerSort": true
9292
},
9393
{
9494
"field": "City",
9595
"title": "City",
96+
"width": 107,
9697
"minWidth": 40,
9798
"resizable": true,
9899
"sorter": "string",
99-
"headerSort": true,
100-
"width": 107
100+
"headerSort": true
101101
},
102102
{
103103
"field": "State",
104104
"title": "State",
105+
"width": 101,
105106
"minWidth": 40,
106107
"resizable": true,
107108
"sorter": "string",
108-
"headerSort": true,
109-
"width": 101
109+
"headerSort": true
110110
},
111111
{
112112
"field": "Postal Code",
113113
"title": "Postal Code",
114+
"width": 130,
114115
"minWidth": 40,
115116
"resizable": true,
116117
"sorter": "number",
117-
"headerSort": true,
118-
"width": 130
118+
"headerSort": true
119119
},
120120
{
121121
"field": "Region",
122122
"title": "Region",
123+
"width": 100,
123124
"minWidth": 40,
124125
"resizable": true,
125126
"sorter": "string",
126-
"headerSort": true,
127-
"width": 100
127+
"headerSort": true
128128
},
129129
{
130130
"field": "Product ID",
131131
"title": "Product ID",
132+
"width": 125,
132133
"minWidth": 40,
133134
"resizable": true,
134135
"sorter": "string",
135-
"headerSort": true,
136-
"width": 125
136+
"headerSort": true
137137
},
138138
{
139139
"field": "Category",
140140
"title": "Category",
141+
"width": 112,
141142
"minWidth": 40,
142143
"resizable": true,
143144
"sorter": "string",
144-
"headerSort": true,
145-
"width": 112
145+
"headerSort": true
146146
},
147147
{
148148
"field": "Sub-Category",
149149
"title": "Sub-Category",
150+
"width": 142,
150151
"minWidth": 40,
151152
"resizable": true,
152153
"sorter": "string",
153-
"headerSort": true,
154-
"width": 142
154+
"headerSort": true
155155
},
156156
{
157157
"field": "Product Name",
158158
"title": "Product Name",
159+
"width": 491,
159160
"minWidth": 40,
160161
"resizable": true,
161162
"sorter": "string",
162-
"headerSort": true,
163-
"width": 491
163+
"headerSort": true
164164
},
165165
{
166166
"field": "Sales",
167167
"title": "Sales",
168+
"width": 88,
168169
"minWidth": 40,
169170
"resizable": true,
170171
"sorter": "number",
171-
"headerSort": true,
172-
"width": 88
172+
"headerSort": true
173173
},
174174
{
175175
"field": "Quantity",
176176
"title": "Quantity",
177+
"width": 110,
177178
"minWidth": 40,
178179
"resizable": true,
179180
"sorter": "number",
180-
"headerSort": true,
181-
"width": 110
181+
"headerSort": true
182182
},
183183
{
184184
"field": "Discount",
185185
"title": "Discount",
186+
"width": 111,
186187
"minWidth": 40,
187188
"resizable": true,
188189
"sorter": "string",
189-
"headerSort": true,
190-
"width": 111
190+
"headerSort": true
191191
},
192192
{
193193
"field": "Profit",
194194
"title": "Profit",
195+
"width": 91,
195196
"minWidth": 40,
196197
"resizable": true,
197198
"sorter": "number",
198-
"headerSort": true,
199-
"width": 91
199+
"headerSort": true
200200
}
201-
]
201+
],
202+
"views": {
203+
"Datagrid": {
204+
"plugin": "Datagrid",
205+
"plugin_config": {},
206+
"settings": false,
207+
"row_pivots": [],
208+
"column_pivots": [],
209+
"columns": [
210+
"Row ID",
211+
"Order ID",
212+
"Order Date",
213+
"Ship Date",
214+
"Ship Mode",
215+
"Customer ID",
216+
"Customer Name",
217+
"Segment",
218+
"Country",
219+
"City",
220+
"State",
221+
"Postal Code",
222+
"Region",
223+
"Product ID",
224+
"Category",
225+
"Sub-Category",
226+
"Product Name",
227+
"Sales",
228+
"Quantity",
229+
"Discount",
230+
"Profit"
231+
],
232+
"filter": [],
233+
"sort": [
234+
[
235+
"Order Date",
236+
"asc"
237+
]
238+
],
239+
"expressions": [],
240+
"aggregates": {}
241+
}
242+
},
243+
"view": "Datagrid"
202244
}

0 commit comments

Comments
 (0)