@@ -34,7 +34,7 @@ public PutCQLFunction() throws IOException, InterruptedException, Initialization
34
34
}
35
35
36
36
@ Test
37
- public void testBasic () {
37
+ public void testBasic () throws Exception {
38
38
String content = "\" colbigint\" ,\" colint\" ,\" coltext\" ,\" colfloat\" ,\" coldouble\" ,\" coldate\" ,\" coltime\" ,\" coltimestamp\" ,\" colboolean\" ,\" coluuid\" ,\" colsmallint\" ,\" coltinyint\" ,\" coltimeuuid\" ,\" colvarchar\" \n " +
39
39
"\" 0\" ,\" 1064\" ,\" zeVOKGnORq\" ,\" 627.6811\" ,\" 395.8522407512559\" ,\" 1971-11-12\" ,\" 03:37:15\" ,\" 2000-09-25T22:18:45Z\" ,\" false\" ,\" 6080071f-4dd1-4ea5-b711-9ad0716e242a\" ,\" 8966\" ,\" 55\" ,\" f45e58f5-c3b7-11ef-8d19-97ae87be7c54\" ,\" Tzxsw\" \n " +
40
40
"\" 1\" ,\" 1709\" ,\" 7By0z5QEXh\" ,\" 652.03955\" ,\" 326.9081263857284\" ,\" 2013-12-17\" ,\" 08:43:09\" ,\" 2010-04-27T07:02:27Z\" ,\" false\" ,\" 7d511666-2f81-41c4-9d5c-a5fa87f7d1c3\" ,\" 24399\" ,\" 38\" ,\" f45e8006-c3b7-11ef-8d19-172ff8d0d752\" ,\" exAbN\" \n " +
@@ -51,7 +51,7 @@ public void testBasic() {
51
51
}
52
52
53
53
@ Test
54
- public void testBatchLoggedTypes () {
54
+ public void testBatchLoggedTypes () throws Exception {
55
55
String content = "\" colbigint\" ,\" colint\" ,\" coltext\" ,\" colfloat\" ,\" coldouble\" ,\" coldate\" ,\" coltime\" ,\" coltimestamp\" ,\" colboolean\" ,\" coluuid\" ,\" colsmallint\" ,\" coltinyint\" ,\" coltimeuuid\" ,\" colvarchar\" \n " +
56
56
"\" 0\" ,\" 1064\" ,\" zeVOKGnORq\" ,\" 627.6811\" ,\" 395.8522407512559\" ,\" 1971-11-12\" ,\" 03:37:15\" ,\" 2000-09-25T22:18:45Z\" ,\" false\" ,\" 6080071f-4dd1-4ea5-b711-9ad0716e242a\" ,\" 8966\" ,\" 55\" ,\" f45e58f5-c3b7-11ef-8d19-97ae87be7c54\" ,\" Tzxsw\" \n " +
57
57
"\" 1\" ,\" 1709\" ,\" 7By0z5QEXh\" ,\" 652.03955\" ,\" 326.9081263857284\" ,\" 2013-12-17\" ,\" 08:43:09\" ,\" 2010-04-27T07:02:27Z\" ,\" false\" ,\" 7d511666-2f81-41c4-9d5c-a5fa87f7d1c3\" ,\" 24399\" ,\" 38\" ,\" f45e8006-c3b7-11ef-8d19-172ff8d0d752\" ,\" exAbN\" \n " +
@@ -68,7 +68,7 @@ public void testBatchLoggedTypes() {
68
68
}
69
69
70
70
@ Test
71
- public void testBatchUnLoggedTypes () {
71
+ public void testBatchUnLoggedTypes () throws Exception {
72
72
String content = "\" colbigint\" ,\" colint\" ,\" coltext\" ,\" colfloat\" ,\" coldouble\" ,\" coldate\" ,\" coltime\" ,\" coltimestamp\" ,\" colboolean\" ,\" coluuid\" ,\" colsmallint\" ,\" coltinyint\" ,\" coltimeuuid\" ,\" colvarchar\" \n " +
73
73
"\" 0\" ,\" 1064\" ,\" zeVOKGnORq\" ,\" 627.6811\" ,\" 395.8522407512559\" ,\" 1971-11-12\" ,\" 03:37:15\" ,\" 2000-09-25T22:18:45Z\" ,\" false\" ,\" 6080071f-4dd1-4ea5-b711-9ad0716e242a\" ,\" 8966\" ,\" 55\" ,\" f45e58f5-c3b7-11ef-8d19-97ae87be7c54\" ,\" Tzxsw\" \n " +
74
74
"\" 1\" ,\" 1709\" ,\" 7By0z5QEXh\" ,\" 652.03955\" ,\" 326.9081263857284\" ,\" 2013-12-17\" ,\" 08:43:09\" ,\" 2010-04-27T07:02:27Z\" ,\" false\" ,\" 7d511666-2f81-41c4-9d5c-a5fa87f7d1c3\" ,\" 24399\" ,\" 38\" ,\" f45e8006-c3b7-11ef-8d19-172ff8d0d752\" ,\" exAbN\" \n " +
@@ -85,7 +85,7 @@ public void testBatchUnLoggedTypes() {
85
85
}
86
86
87
87
@ Test
88
- public void testMoreItems () {
88
+ public void testMoreItems () throws Exception {
89
89
String content = "\" colbigint\" ,\" colint\" ,\" coltext\" ,\" colfloat\" ,\" coldouble\" ,\" coldate\" ,\" coltime\" ,\" coltimestamp\" ,\" colboolean\" ,\" coluuid\" ,\" colsmallint\" ,\" coltinyint\" ,\" coltimeuuid\" ,\" colvarchar\" \n " +
90
90
"\" 0\" ,\" 1064\" ,\" zeVOKGnORq\" ,\" 627.6811\" ,\" 395.8522407512559\" ,\" 1971-11-12\" ,\" 03:37:15\" ,\" 2000-09-25T22:18:45Z\" ,\" false\" ,\" 6080071f-4dd1-4ea5-b711-9ad0716e242a\" ,\" 8966\" ,\" 55\" ,\" f45e58f5-c3b7-11ef-8d19-97ae87be7c54\" ,\" Tzxsw\" \n " +
91
91
"\" 1\" ,\" 1709\" ,\" 7By0z5QEXh\" ,\" 652.03955\" ,\" 326.9081263857284\" ,\" 2013-12-17\" ,\" 08:43:09\" ,\" 2010-04-27T07:02:27Z\" ,\" false\" ,\" 7d511666-2f81-41c4-9d5c-a5fa87f7d1c3\" ,\" 24399\" ,\" 38\" ,\" f45e8006-c3b7-11ef-8d19-172ff8d0d752\" ,\" exAbN\" \n " +
@@ -115,7 +115,7 @@ public void testMoreItems() {
115
115
}
116
116
117
117
@ Test
118
- public void testNoQuotas () {
118
+ public void testNoQuotas () throws Exception {
119
119
String content = "colbigint,colint,coltext,colfloat,coldouble,coldate,coltime,coltimestamp,colboolean,coluuid,colsmallint,coltinyint,coltimeuuid,colvarchar\n " +
120
120
"10,1064,zeVOKGnORq,627.6811,395.8522407512559,1971-11-12,03:37:15,2000-09-25T22:18:45Z,false,6080071f-4dd1-4ea5-b711-9ad0716e242a,8966,55,f45e58f5-c3b7-11ef-8d19-97ae87be7c54,Tzxsw\n " +
121
121
"11,1709,7By0z5QEXh,652.03955,326.9081263857284,2013-12-17,08:43:09,2010-04-27T07:02:27Z,false,7d511666-2f81-41c4-9d5c-a5fa87f7d1c3,24399,38,f45e8006-c3b7-11ef-8d19-172ff8d0d752,exAbN\n " +
@@ -132,7 +132,7 @@ public void testNoQuotas() {
132
132
}
133
133
134
134
@ Test
135
- public void testEmptyInput () {
135
+ public void testEmptyInput () throws Exception {
136
136
String content = "" ;
137
137
FlowFile result ;
138
138
@@ -145,7 +145,7 @@ public void testEmptyInput() {
145
145
}
146
146
147
147
@ Test
148
- public void testOnlyHeader () {
148
+ public void testOnlyHeader () throws Exception {
149
149
String content = "\" colbigint\" ,\" colint\" ,\" coltext\" ,\" colfloat\" ,\" coldouble\" ,\" coldate\" ,\" coltime\" ,\" coltimestamp\" ,\" colboolean\" ,\" coluuid\" ,\" colsmallint\" ,\" coltinyint\" ,\" coltimeuuid\" ,\" colvarchar\" \n " ;
150
150
FlowFile result ;
151
151
@@ -158,7 +158,7 @@ public void testOnlyHeader() {
158
158
}
159
159
160
160
@ Test
161
- public void testOnlyHeaderNoQuotas () {
161
+ public void testOnlyHeaderNoQuotas () throws Exception {
162
162
String content = "colbigint,colint,coltext,colfloat,coldouble,coldate,coltime,coltimestamp,colboolean,coluuid,colsmallint,coltinyint,coltimeuuid,colvarchar\n " ;
163
163
FlowFile result ;
164
164
@@ -171,7 +171,7 @@ public void testOnlyHeaderNoQuotas() {
171
171
}
172
172
173
173
@ Test
174
- public void testBasicRepeat5 () {
174
+ public void testBasicRepeat5 () throws Exception {
175
175
String content = "\" colbigint\" ,\" colint\" ,\" coltext\" ,\" colfloat\" ,\" coldouble\" ,\" coldate\" ,\" coltime\" ,\" coltimestamp\" ,\" colboolean\" ,\" coluuid\" ,\" colsmallint\" ,\" coltinyint\" ,\" coltimeuuid\" ,\" colvarchar\" \n " +
176
176
"\" 0\" ,\" 1064\" ,\" zeVOKGnORq\" ,\" 627.6811\" ,\" 395.8522407512559\" ,\" 1971-11-12\" ,\" 03:37:15\" ,\" 2000-09-25T22:18:45Z\" ,\" false\" ,\" 6080071f-4dd1-4ea5-b711-9ad0716e242a\" ,\" 8966\" ,\" 55\" ,\" f45e58f5-c3b7-11ef-8d19-97ae87be7c54\" ,\" Tzxsw\" \n " +
177
177
"\" 1\" ,\" 1709\" ,\" 7By0z5QEXh\" ,\" 652.03955\" ,\" 326.9081263857284\" ,\" 2013-12-17\" ,\" 08:43:09\" ,\" 2010-04-27T07:02:27Z\" ,\" false\" ,\" 7d511666-2f81-41c4-9d5c-a5fa87f7d1c3\" ,\" 24399\" ,\" 38\" ,\" f45e8006-c3b7-11ef-8d19-172ff8d0d752\" ,\" exAbN\" \n " +
@@ -190,7 +190,7 @@ public void testBasicRepeat5() {
190
190
}
191
191
192
192
@ Test
193
- public void testNoQuotas2 () {
193
+ public void testNoQuotas2 () throws Exception {
194
194
String content = "colbigint,colint,coltext,colfloat,coldouble,coldate,coltime,coltimestamp,colboolean,coluuid,colsmallint,coltinyint,coltimeuuid,colvarchar\n " +
195
195
"0,1064,zeVOKGnORq,627.6811,395.8522407512559,1971-11-12,03:37:15,2000-09-25T22:18:45Z,false,6080071f-4dd1-4ea5-b711-9ad0716e242a,8966,55,f45e58f5-c3b7-11ef-8d19-97ae87be7c54,Tzxswn\n " +
196
196
"1,1709,7By0z5QEXh,652.03955,326.9081263857284,2013-12-17,08:43:09,2010-04-27T07:02:27Z,false,7d511666-2f81-41c4-9d5c-a5fa87f7d1c3,24399,38,f45e8006-c3b7-11ef-8d19-172ff8d0d752,exAbNn\n " +
0 commit comments