-
Notifications
You must be signed in to change notification settings - Fork 1
/
localrun.sh
executable file
·103 lines (88 loc) · 1.86 KB
/
localrun.sh
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
#!/bin/bash
INPUT_PATH="test.csv"
OUTPUT_PATH="output/chardonnay/"
RUNNER="Direct"
PROJECT_ID="chen-zeyu-wine-dataflow"
TEMP="tmp/"
VARIETY="Chardonnay" #test Red Blend Chardonnay
MODE1="--bottles_sold"
MODE2="--dollars_sold"
MODE3="--winery_bottles_sold"
MODE4="--winery_dollars_sold"
MODE5="--purchased_together"
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE1}
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE2}
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE3}
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE4}
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE1} \
--variety "${VARIETY}"
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE2} \
--variety "${VARIETY}"
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE3} \
--variety "${VARIETY}"
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE4} \
--variety "${VARIETY}"
# Command Line
python main.py \
--input ${INPUT_PATH} \
--output ${OUTPUT_PATH} \
--runner ${RUNNER} \
--project ${PROJECT_ID} \
--temp_location ${TEMP} \
${MODE5}