-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinput_mutate_after_alter.json
More file actions
110 lines (110 loc) · 1.93 KB
/
Copy pathinput_mutate_after_alter.json
File metadata and controls
110 lines (110 loc) · 1.93 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"create_table": {
"mutate_after_alter": {
"columns": {
"id": "INT",
"amount": "DOUBLE",
"s1": "XML",
"s2": "BINARY",
"s3": "STRING",
"s4": "STRING"
},
"primary_key": [
"id"
]
}
},
"alter_table": {
"mutate_after_alter": {
"columns": {
"id": "INT",
"amount": "FLOAT",
"s1": "STRING",
"s2": "STRING",
"s3": "XML",
"s4": "BINARY"
},
"primary_key": [
"id"
]
}
},
"describe_table": [
"mutate_after_alter"
],
"ops": [
{
"upsert": {
"mutate_after_alter": [
{
"id": 1,
"amount": 100.45,
"s1": "<a>1</b>",
"s2": "FF",
"s3": null,
"s4": null
},
{
"id": 2,
"amount": 150.33,
"s1": null,
"s2": null,
"s3": "foo",
"s4": "bar"
},
{
"id": 3,
"amount": 777.777,
"s1": "<b>42</b>",
"s2": "AA",
"s3": "qaz",
"s4": "qux"
}
]
}
},
{
"update": {
"mutate_after_alter": [
{
"id": 1,
"amount": 200,
"s1": "asd",
"s2": "zxc"
}
]
}
},
{
"upsert": {
"mutate_after_alter": [
{
"id": 2,
"amount": 50,
"s1": null,
"s2": null,
"s3": "<c>99</c>",
"s4": "DD"
},
{
"id": 4,
"amount": 20.5,
"s1": "x",
"s2": null,
"s3": "<d>77</d>",
"s4": null
}
]
}
},
{
"delete": {
"mutate_after_alter": [
{
"id": 3
}
]
}
}
]
}