1
+ {
2
+ "name" : " test_diffschema_record" ,
3
+ "description" : " Data Pipeline Application" ,
4
+ "artifact" : {
5
+ "name" : " cdap-data-pipeline" ,
6
+ "version" : " 6.10.0-SNAPSHOT" ,
7
+ "scope" : " SYSTEM"
8
+ },
9
+ "config" : {
10
+ "resources" : {
11
+ "memoryMB" : 2048 ,
12
+ "virtualCores" : 1
13
+ },
14
+ "driverResources" : {
15
+ "memoryMB" : 2048 ,
16
+ "virtualCores" : 1
17
+ },
18
+ "connections" : [
19
+ {
20
+ "from" : " BigQuery" ,
21
+ "to" : " Wrangler"
22
+ },
23
+ {
24
+ "from" : " Wrangler" ,
25
+ "to" : " BigQuery3"
26
+ },
27
+ {
28
+ "from" : " BigQuery2" ,
29
+ "to" : " BigQuery3"
30
+ }
31
+ ],
32
+ "comments" : [],
33
+ "postActions" : [],
34
+ "properties" : {},
35
+ "processTimingEnabled" : true ,
36
+ "stageLoggingEnabled" : false ,
37
+ "stages" : [
38
+ {
39
+ "name" : " BigQuery" ,
40
+ "plugin" : {
41
+ "name" : " BigQueryTable" ,
42
+ "type" : " batchsource" ,
43
+ "label" : " BigQuery" ,
44
+ "artifact" : {
45
+ "name" : " google-cloud" ,
46
+ "version" : " 0.22.0-SNAPSHOT" ,
47
+ "scope" : " SYSTEM"
48
+ },
49
+ "properties" : {
50
+ "useConnection" : " false" ,
51
+ "project" : " cdf-athena" ,
52
+ "serviceAccountType" : " filePath" ,
53
+ "serviceFilePath" : " auto-detect" ,
54
+ "referenceName" : " bq_ref" ,
55
+ "dataset" : " bq_automation" ,
56
+ "table" : " bqSourceTableMore" ,
57
+ "enableQueryingViews" : " false" ,
58
+ "schema" : " {\" type\" :\" record\" ,\" name\" :\" output\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]},{\" name\" :\" TableName\" ,\" type\" :[\" string\" ,\" null\" ]}]}"
59
+ }
60
+ },
61
+ "outputSchema" : " {\" type\" :\" record\" ,\" name\" :\" output\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]},{\" name\" :\" TableName\" ,\" type\" :[\" string\" ,\" null\" ]}]}" ,
62
+ "id" : " BigQuery" ,
63
+ "type" : " batchsource" ,
64
+ "label" : " BigQuery" ,
65
+ "icon" : " fa-plug"
66
+ },
67
+ {
68
+ "name" : " Wrangler" ,
69
+ "plugin" : {
70
+ "name" : " Wrangler" ,
71
+ "type" : " transform" ,
72
+ "label" : " Wrangler" ,
73
+ "artifact" : {
74
+ "name" : " wrangler-transform" ,
75
+ "version" : " 4.10.0-SNAPSHOT" ,
76
+ "scope" : " SYSTEM"
77
+ },
78
+ "properties" : {
79
+ "field" : " *" ,
80
+ "precondition" : " false" ,
81
+ "directives" : " drop :TableName" ,
82
+ "on-error" : " fail-pipeline" ,
83
+ "schema" : " {\" type\" :\" record\" ,\" name\" :\" record\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}" ,
84
+ "workspaceId" : " 7038fc39-732e-4d75-8d3f-db6cfe5a11d8"
85
+ }
86
+ },
87
+ "outputSchema" : " {\" type\" :\" record\" ,\" name\" :\" record\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}" ,
88
+ "inputSchema" : [
89
+ {
90
+ "name" : " BigQuery" ,
91
+ "schema" : " {\" type\" :\" record\" ,\" name\" :\" output\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]},{\" name\" :\" TableName\" ,\" type\" :[\" string\" ,\" null\" ]}]}"
92
+ }
93
+ ],
94
+ "id" : " Wrangler" ,
95
+ "type" : " transform" ,
96
+ "label" : " Wrangler" ,
97
+ "icon" : " icon-DataPreparation"
98
+ },
99
+ {
100
+ "name" : " BigQuery3" ,
101
+ "plugin" : {
102
+ "name" : " BigQueryTable" ,
103
+ "type" : " batchsink" ,
104
+ "label" : " BigQuery3" ,
105
+ "artifact" : {
106
+ "name" : " google-cloud" ,
107
+ "version" : " 0.22.0-SNAPSHOT" ,
108
+ "scope" : " SYSTEM"
109
+ },
110
+ "properties" : {
111
+ "useConnection" : " false" ,
112
+ "project" : " auto-detect" ,
113
+ "serviceAccountType" : " filePath" ,
114
+ "serviceFilePath" : " auto-detect" ,
115
+ "dataset" : " bq_automation" ,
116
+ "table" : " New_target_table_combine" ,
117
+ "operation" : " insert" ,
118
+ "truncateTable" : " false" ,
119
+ "allowSchemaRelaxation" : " false" ,
120
+ "location" : " US" ,
121
+ "createPartitionedTable" : " false" ,
122
+ "partitioningType" : " TIME" ,
123
+ "partitionFilterRequired" : " false" ,
124
+ "schema" : " {\" type\" :\" record\" ,\" name\" :\" record\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}"
125
+ }
126
+ },
127
+ "outputSchema" : " {\" type\" :\" record\" ,\" name\" :\" record\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}" ,
128
+ "inputSchema" : [
129
+ {
130
+ "name" : " Wrangler" ,
131
+ "schema" : " {\" type\" :\" record\" ,\" name\" :\" record\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}"
132
+ },
133
+ {
134
+ "name" : " BigQuery2" ,
135
+ "schema" : " {\" type\" :\" record\" ,\" name\" :\" output\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}"
136
+ }
137
+ ],
138
+ "id" : " BigQuery3" ,
139
+ "type" : " batchsink" ,
140
+ "label" : " BigQuery3" ,
141
+ "icon" : " fa-plug"
142
+ },
143
+ {
144
+ "name" : " BigQuery2" ,
145
+ "plugin" : {
146
+ "name" : " BigQueryTable" ,
147
+ "type" : " batchsource" ,
148
+ "label" : " BigQuery2" ,
149
+ "artifact" : {
150
+ "name" : " google-cloud" ,
151
+ "version" : " 0.22.0-SNAPSHOT" ,
152
+ "scope" : " SYSTEM"
153
+ },
154
+ "properties" : {
155
+ "useConnection" : " false" ,
156
+ "project" : " cdf-athena" ,
157
+ "serviceAccountType" : " filePath" ,
158
+ "serviceFilePath" : " auto-detect" ,
159
+ "referenceName" : " bq_test" ,
160
+ "dataset" : " bq_automation" ,
161
+ "table" : " bqSourceTableLess" ,
162
+ "enableQueryingViews" : " false" ,
163
+ "schema" : " {\" type\" :\" record\" ,\" name\" :\" output\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}"
164
+ }
165
+ },
166
+ "outputSchema" : " {\" type\" :\" record\" ,\" name\" :\" output\" ,\" fields\" :[{\" name\" :\" ID\" ,\" type\" :[\" long\" ,\" null\" ]},{\" name\" :\" Name\" ,\" type\" :[\" string\" ,\" null\" ]},{\" name\" :\" Price\" ,\" type\" :[\" double\" ,\" null\" ]}]}" ,
167
+ "id" : " BigQuery2" ,
168
+ "type" : " batchsource" ,
169
+ "label" : " BigQuery2" ,
170
+ "icon" : " fa-plug"
171
+ }
172
+ ],
173
+ "schedule" : " 0 1 */1 * *" ,
174
+ "engine" : " spark" ,
175
+ "numOfRecordsPreview" : 100 ,
176
+ "rangeRecordsPreview" : {
177
+ "min" : 1 ,
178
+ "max" : " 5000"
179
+ },
180
+ "maxConcurrentRuns" : 1
181
+ },
182
+ "version" : " fe4ee1e3-6380-11ee-8217-0000003390c8"
183
+ }
0 commit comments