-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexternal_models.yaml
279 lines (279 loc) · 6.49 KB
/
external_models.yaml
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
- name: '`tpcdi`.`tpcdi_100_dbsql_100`.`dailymarkethistorical`'
columns:
dm_date: DATE
dm_s_symb: STRING
dm_close: DOUBLE
dm_high: DOUBLE
dm_low: DOUBLE
dm_vol: INT
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100`.`dimdate`'
columns:
sk_dateid: BIGINT
datevalue: DATE
datedesc: STRING
calendaryearid: INT
calendaryeardesc: STRING
calendarqtrid: INT
calendarqtrdesc: STRING
calendarmonthid: INT
calendarmonthdesc: STRING
calendarweekid: INT
calendarweekdesc: STRING
dayofweeknum: INT
dayofweekdesc: STRING
fiscalyearid: INT
fiscalyeardesc: STRING
fiscalqtrid: INT
fiscalqtrdesc: STRING
holidayflag: BOOLEAN
- name: '`tpcdi`.`tpcdi_100_dbsql_100`.`dimtime`'
columns:
sk_timeid: BIGINT
timevalue: STRING
hourid: INT
hourdesc: STRING
minuteid: INT
minutedesc: INT
secondid: INT
seconddesc: INT
markethoursflag: BOOLEAN
officehoursflag: BOOLEAN
- name: '`tpcdi`.`tpcdi_100_dbsql_100`.`industry`'
columns:
in_id: STRING
in_name: STRING
in_sc_id: STRING
- name: '`tpcdi`.`tpcdi_100_dbsql_100`.`statustype`'
columns:
st_id: STRING
st_name: STRING
- name: '`tpcdi`.`tpcdi_100_dbsql_100`.`taxrate`'
columns:
tx_id: STRING
tx_name: STRING
tx_rate: FLOAT
- name: '`tpcdi`.`tpcdi_100_dbsql_100`.`tradetype`'
columns:
tt_id: STRING
tt_name: STRING
tt_is_sell: INT
tt_is_mrkt: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`customermgmt`'
columns:
customerid: BIGINT
accountid: BIGINT
brokerid: BIGINT
taxid: STRING
accountdesc: STRING
taxstatus: TINYINT
status: STRING
lastname: STRING
firstname: STRING
middleinitial: STRING
gender: STRING
tier: TINYINT
dob: DATE
addressline1: STRING
addressline2: STRING
postalcode: STRING
city: STRING
stateprov: STRING
country: STRING
phone1: STRING
phone2: STRING
phone3: STRING
email1: STRING
email2: STRING
lcl_tx_id: STRING
nat_tx_id: STRING
update_ts: TIMESTAMP
ActionType: STRING
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_accountincremental`'
columns:
accountid: BIGINT
brokerid: BIGINT
customerid: BIGINT
accountDesc: STRING
taxstatus: TINYINT
status: STRING
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_batchdate`'
columns:
batchdate: DATE
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_cashtransactionhistory`'
columns:
ct_ca_id: INT
ct_dts: TIMESTAMP
ct_amt: DOUBLE
ct_name: STRING
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_cashtransactionincremental`'
columns:
accountid: BIGINT
datevalue: DATE
cash: DOUBLE
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_customerincremental`'
columns:
customerid: BIGINT
taxid: STRING
status: STRING
lastname: STRING
firstname: STRING
middleinitial: STRING
gender: STRING
tier: TINYINT
dob: DATE
addressline1: STRING
addressline2: STRING
postalcode: STRING
city: STRING
stateprov: STRING
country: STRING
phone1: STRING
phone2: STRING
phone3: STRING
email1: STRING
email2: STRING
lcl_tx_id: STRING
nat_tx_id: STRING
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_dailymarkethistorical`'
columns:
dm_date: DATE
dm_s_symb: STRING
dm_close: DOUBLE
dm_high: DOUBLE
dm_low: DOUBLE
dm_vol: INT
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_dailymarketincremental`'
columns:
dm_date: DATE
dm_s_symb: STRING
dm_close: DOUBLE
dm_high: DOUBLE
dm_low: DOUBLE
dm_vol: INT
batchid: INT
fiftytwoweekhigh: DOUBLE
sk_fiftytwoweekhighdate: BIGINT
fiftytwoweeklow: DOUBLE
sk_fiftytwoweeklowdate: BIGINT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_finwire`'
columns:
rectype: STRING
recdate: DATE
value: STRING
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_holdinghistory`'
columns:
hh_h_t_id: INT
hh_t_id: INT
hh_before_qty: INT
hh_after_qty: INT
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_holdingincremental`'
columns:
cdc_flag: STRING
cdc_dsn: INT
hh_h_t_id: INT
hh_t_id: INT
hh_before_qty: INT
hh_after_qty: INT
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_hr`'
columns:
employeeid: BIGINT
managerid: BIGINT
employeefirstname: STRING
employeelastname: STRING
employeemi: STRING
employeejobcode: INT
employeebranch: STRING
employeeoffice: STRING
employeephone: STRING
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_prospect`'
columns:
agencyid: STRING
lastname: STRING
firstname: STRING
middleinitial: STRING
gender: STRING
addressline1: STRING
addressline2: STRING
postalcode: STRING
city: STRING
state: STRING
country: STRING
phone: STRING
income: BIGINT
numbercars: INT
numberchildren: INT
maritalstatus: STRING
age: INT
creditrating: INT
ownorrentflag: STRING
employer: STRING
numbercreditcards: INT
networth: INT
marketingnameplate: STRING
recordbatchid: INT
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_trade`'
columns:
t_id: BIGINT
t_dts: TIMESTAMP
t_st_id: STRING
t_tt_id: STRING
t_is_cash: TINYINT
t_s_symb: STRING
quantity: INT
bidprice: DOUBLE
t_ca_id: BIGINT
executedby: STRING
tradeprice: DOUBLE
fee: DOUBLE
commission: DOUBLE
tax: DOUBLE
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_tradehistory`'
columns:
tradeid: BIGINT
th_dts: TIMESTAMP
status: STRING
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_tradeincremental`'
columns:
cdc_flag: STRING
tradeid: BIGINT
t_dts: TIMESTAMP
create_ts: TIMESTAMP
close_ts: TIMESTAMP
status: STRING
type: STRING
cashflag: BOOLEAN
t_s_symb: STRING
quantity: INT
bidprice: DOUBLE
t_ca_id: BIGINT
executedby: STRING
tradeprice: DOUBLE
fee: DOUBLE
commission: DOUBLE
tax: DOUBLE
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_watchhistory`'
columns:
w_c_id: BIGINT
w_s_symb: STRING
w_dts: TIMESTAMP
w_action: STRING
batchid: INT
- name: '`tpcdi`.`tpcdi_100_dbsql_100_stage`.`v_watchincremental`'
columns:
w_c_id: BIGINT
w_s_symb: STRING
w_dts: TIMESTAMP
w_action: STRING
batchid: INT