-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.conf
94 lines (91 loc) · 2.38 KB
/
test.conf
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
describe_old = true
schema_file_path = [
"schema/cmap/DCIR_schema.csv"
"schema/cmap/MCO_schema.csv"
]
old_flat = [
{
name = "DCIR"
central_table = "ER_PRS_F"
join_keys = [
"DCT_ORD_NUM"
"FLX_DIS_DTD"
"FLX_EMT_NUM"
"FLX_EMT_ORD"
"FLX_EMT_TYP"
"FLX_TRT_DTD"
"ORG_CLE_NUM"
"PRS_ORD_NUM"
"REM_TYP_AFF"
]
date_format = "yyyy-MM-dd"
input_path = "src/test/resources/statistics/flat_table/input/oldDCIR"
output_stat_path = "target/test/output/stats/oldDCIR"
}
{
name = "MCO"
central_table = "MCO_C"
join_keys = ["ETA_NUM", "RSA_NUM"]
date_format = "yyyy-MM-dd" // There is no date column in the dummy MCO
input_path = "src/test/resources/statistics/flat_table/input/oldMCO"
output_stat_path = "target/test/output/stats/oldMCO"
}
]
new_flat = [
{
name = "DCIR"
central_table = "ER_PRS_F"
join_keys = [
"DCT_ORD_NUM"
"FLX_DIS_DTD"
"FLX_EMT_NUM"
"FLX_EMT_ORD"
"FLX_EMT_TYP"
"FLX_TRT_DTD"
"ORG_CLE_NUM"
"PRS_ORD_NUM"
"REM_TYP_AFF"
]
input_path = "src/test/resources/flattening/parquet-table/flat_table/DCIR"
output_stat_path = "target/test/output/stats/newDCIR"
single_tables = [
{
name = "ER_CAM_F"
input_path = "src/test/resources/flattening/parquet-table/single_table/ER_CAM_F"
}
{
name = "ER_PHA_F"
input_path = "src/test/resources/flattening/parquet-table/single_table/ER_PHA_F"
}
{
name = "ER_PRS_F"
input_path = "src/test/resources/flattening/parquet-table/single_table/ER_PRS_F"
}
]
}
{
name = "MCO"
central_table = "MCO_C"
join_keys = ["ETA_NUM", "RSA_NUM"]
input_path = "src/test/resources/flattening/parquet-table/flat_table/MCO"
output_stat_path = "target/test/output/stats/newMCO"
single_tables = [
{
name = "MCO_A"
input_path = "src/test/resources/flattening/parquet-table/single_table/MCO_A"
}
{
name = "MCO_B"
input_path = "src/test/resources/flattening/parquet-table/single_table/MCO_B"
}
{
name = "MCO_C"
input_path = "src/test/resources/flattening/parquet-table/single_table/MCO_C"
}
{
name = "MCO_D"
input_path = "src/test/resources/flattening/parquet-table/single_table/MCO_D"
}
]
}
]