blob: 550d93ddf7c17e216400d5688fda556f5e68fc1f [file] [log] [blame]
Till Westmannea8ab392013-06-05 15:17:08 -07001<!--
Ian Maxon928bbd12015-09-14 17:12:48 -07002 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
Till Westmannea8ab392013-06-05 15:17:08 -070018 !-->
Ian Maxonf18bba22015-08-21 12:35:14 -070019<test-suite xmlns="urn:xml.testframework.asterix.apache.org" ResultOffsetPath="results" QueryOffsetPath="queries" QueryFileExtension=".aql">
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000020 <test-group name="basic">
21 <test-case FilePath="basic">
Yingyi Bub9169b62016-02-26 21:21:49 -080022 <compilation-unit name="dataset_with_meta-1">
23 <output-dir compare="Text">dataset_with_meta-1</output-dir>
24 </compilation-unit>
25 </test-case>
26 <test-case FilePath="basic">
27 <compilation-unit name="dataset_with_meta-2">
28 <output-dir compare="Text">dataset_with_meta-2</output-dir>
29 </compilation-unit>
30 </test-case>
31 <test-case FilePath="basic">
32 <compilation-unit name="dataset_with_meta-3">
33 <output-dir compare="Text">dataset_with_meta-3</output-dir>
34 </compilation-unit>
35 </test-case>
36 <test-case FilePath="basic">
37 <compilation-unit name="dataset_with_meta-4">
38 <output-dir compare="Text">dataset_with_meta-4</output-dir>
39 </compilation-unit>
40 </test-case>
41 <test-case FilePath="basic">
42 <compilation-unit name="dataset_with_meta-5">
43 <output-dir compare="Text">dataset_with_meta-5</output-dir>
44 </compilation-unit>
45 </test-case>
46 <test-case FilePath="basic">
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000047 <compilation-unit name="meta01">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +000048 <output-dir compare="Text">meta01</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000049 </compilation-unit>
50 </test-case>
51 <test-case FilePath="basic">
52 <compilation-unit name="meta02">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +000053 <output-dir compare="Text">meta02</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000054 </compilation-unit>
55 </test-case>
56 <test-case FilePath="basic">
Ildar Absalyamova5895302015-08-17 23:15:41 -070057 <compilation-unit name="meta03_builtin_type">
58 <output-dir compare="Text">meta03/builtin_type</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000059 </compilation-unit>
60 </test-case>
61 <test-case FilePath="basic">
Ildar Absalyamova5895302015-08-17 23:15:41 -070062 <compilation-unit name="meta03_builtin_type_nullable">
63 <output-dir compare="Text">meta03/builtin_type_nullable</output-dir>
64 </compilation-unit>
65 </test-case>
66 <test-case FilePath="basic">
67 <compilation-unit name="meta03_ordered_list">
68 <output-dir compare="Text">meta03/complex_type/ordered_list</output-dir>
69 </compilation-unit>
70 </test-case>
71 <test-case FilePath="basic">
72 <compilation-unit name="meta03_ordered_list_nullable">
73 <output-dir compare="Text">meta03/complex_type/ordered_list</output-dir>
74 </compilation-unit>
75 </test-case>
76 <test-case FilePath="basic">
77 <compilation-unit name="meta03_record">
78 <output-dir compare="Text">meta03/complex_type/record</output-dir>
79 </compilation-unit>
80 </test-case>
81 <test-case FilePath="basic">
82 <compilation-unit name="meta03_record_nullable">
83 <output-dir compare="Text">meta03/complex_type/record</output-dir>
84 </compilation-unit>
85 </test-case>
86 <test-case FilePath="basic">
87 <compilation-unit name="meta03_unordered_list">
88 <output-dir compare="Text">meta03/complex_type/unordered_list</output-dir>
89 </compilation-unit>
90 </test-case>
91 <test-case FilePath="basic">
92 <compilation-unit name="meta03_unordered_list_nullable">
93 <output-dir compare="Text">meta03/complex_type/unordered_list</output-dir>
94 </compilation-unit>
95 </test-case>
96 <test-case FilePath="basic">
97 <compilation-unit name="meta04_builtin_type">
98 <output-dir compare="Text">meta04/builtin_type</output-dir>
99 </compilation-unit>
100 </test-case>
101 <test-case FilePath="basic">
102 <compilation-unit name="meta04_builtin_type_nullable">
103 <output-dir compare="Text">meta04/builtin_type_nullable</output-dir>
104 </compilation-unit>
105 </test-case>
106 <test-case FilePath="basic">
107 <compilation-unit name="meta04_ordered_list">
108 <output-dir compare="Text">meta04/complex_type/ordered_list</output-dir>
109 </compilation-unit>
110 </test-case>
111 <test-case FilePath="basic">
112 <compilation-unit name="meta04_ordered_list_nullable">
113 <output-dir compare="Text">meta04/complex_type/ordered_list</output-dir>
114 </compilation-unit>
115 </test-case>
116 <test-case FilePath="basic">
117 <compilation-unit name="meta04_record">
118 <output-dir compare="Text">meta04/complex_type/record</output-dir>
119 </compilation-unit>
120 </test-case>
121 <test-case FilePath="basic">
122 <compilation-unit name="meta04_record_nullable">
123 <output-dir compare="Text">meta04/complex_type/record</output-dir>
124 </compilation-unit>
125 </test-case>
126 <test-case FilePath="basic">
127 <compilation-unit name="meta04_unordered_list">
128 <output-dir compare="Text">meta04/complex_type/unordered_list</output-dir>
129 </compilation-unit>
130 </test-case>
131 <test-case FilePath="basic">
132 <compilation-unit name="meta04_unordered_list_nullable">
133 <output-dir compare="Text">meta04/complex_type/unordered_list</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000134 </compilation-unit>
135 </test-case>
136 <test-case FilePath="basic">
137 <compilation-unit name="meta05">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000138 <output-dir compare="Text">meta05</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000139 </compilation-unit>
140 </test-case>
141 <test-case FilePath="basic">
142 <compilation-unit name="meta06">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000143 <output-dir compare="Text">meta06</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000144 </compilation-unit>
145 </test-case>
146 <test-case FilePath="basic">
147 <compilation-unit name="meta07">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000148 <output-dir compare="Text">meta07</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000149 </compilation-unit>
150 </test-case>
151 <test-case FilePath="basic">
152 <compilation-unit name="meta08">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000153 <output-dir compare="Text">meta08</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000154 </compilation-unit>
155 </test-case>
156 <test-case FilePath="basic">
157 <compilation-unit name="meta09">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000158 <output-dir compare="Text">meta09</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000159 </compilation-unit>
160 </test-case>
161 <test-case FilePath="basic">
162 <compilation-unit name="meta10">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000163 <output-dir compare="Text">meta10</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000164 </compilation-unit>
165 </test-case>
166 <test-case FilePath="basic">
167 <compilation-unit name="meta11">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000168 <output-dir compare="Text">meta11</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000169 </compilation-unit>
170 </test-case>
171 <test-case FilePath="basic">
172 <compilation-unit name="meta12">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000173 <output-dir compare="Text">meta12</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000174 </compilation-unit>
175 </test-case>
176 <test-case FilePath="basic">
177 <compilation-unit name="meta13">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000178 <output-dir compare="Text">meta13</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000179 </compilation-unit>
180 </test-case>
181 <test-case FilePath="basic">
182 <compilation-unit name="meta14">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000183 <output-dir compare="Text">meta14</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000184 </compilation-unit>
185 </test-case>
186 <test-case FilePath="basic">
187 <compilation-unit name="meta15">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000188 <output-dir compare="Text">meta15</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000189 </compilation-unit>
190 </test-case>
191 <test-case FilePath="basic">
192 <compilation-unit name="meta16">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000193 <output-dir compare="Text">meta16</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000194 </compilation-unit>
195 </test-case>
196 <test-case FilePath="basic">
197 <compilation-unit name="meta17">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000198 <output-dir compare="Text">meta17</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000199 </compilation-unit>
200 </test-case>
201 <test-case FilePath="basic">
salsubaieec449de92013-11-13 21:03:27 -0800202 <compilation-unit name="metadata_compaction_policy">
203 <output-dir compare="Text">metadata_compaction_policy</output-dir>
204 </compilation-unit>
205 </test-case>
206 <test-case FilePath="basic">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000207 <compilation-unit name="metadata_dataset">
208 <output-dir compare="Text">metadata_dataset</output-dir>
209 </compilation-unit>
210 </test-case>
211 <test-case FilePath="basic">
212 <compilation-unit name="metadata_dataverse">
213 <output-dir compare="Text">metadata_dataverse</output-dir>
214 </compilation-unit>
215 </test-case>
216 <test-case FilePath="basic">
217 <compilation-unit name="metadata_datatype">
218 <output-dir compare="Text">metadata_datatype</output-dir>
219 </compilation-unit>
220 </test-case>
221 <test-case FilePath="basic">
222 <compilation-unit name="metadata_index">
223 <output-dir compare="Text">metadata_index</output-dir>
224 </compilation-unit>
225 </test-case>
226 <test-case FilePath="basic">
227 <compilation-unit name="metadata_node">
228 <output-dir compare="Text">metadata_node</output-dir>
229 </compilation-unit>
230 </test-case>
231 <test-case FilePath="basic">
232 <compilation-unit name="metadata_nodegroup">
233 <output-dir compare="Text">metadata_nodegroup</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000234 </compilation-unit>
235 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000236 <test-case FilePath="basic">
237 <compilation-unit name="issue_251_dataset_hint_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000238 <output-dir compare="Text">issue_251_dataset_hint_2</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000239 </compilation-unit>
240 </test-case>
241 <test-case FilePath="basic">
242 <compilation-unit name="issue_251_dataset_hint_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000243 <output-dir compare="Text">issue_251_dataset_hint_3</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000244 </compilation-unit>
245 </test-case>
246 <test-case FilePath="basic">
247 <compilation-unit name="issue_251_dataset_hint_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000248 <output-dir compare="Text">issue_251_dataset_hint_4</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000249 </compilation-unit>
250 </test-case>
JArodad6da692013-05-01 16:58:27 -0700251 <test-case FilePath="basic">
252 <compilation-unit name="issue_363_temporal_key_0">
253 <output-dir compare="Text">issue_363_temporal_key_0</output-dir>
254 </compilation-unit>
255 </test-case>
JArode3ba6322013-05-01 23:17:40 -0700256 <test-case FilePath="basic">
257 <compilation-unit name="issue_363_temporal_key_1">
258 <output-dir compare="Text">issue_363_temporal_key_1</output-dir>
259 </compilation-unit>
260 </test-case>
261 <test-case FilePath="basic">
262 <compilation-unit name="issue_363_temporal_key_2">
263 <output-dir compare="Text">issue_363_temporal_key_2</output-dir>
264 </compilation-unit>
265 </test-case>
266 <test-case FilePath="basic">
267 <compilation-unit name="issue_363_temporal_key_3">
268 <output-dir compare="Text">issue_363_temporal_key_3</output-dir>
269 </compilation-unit>
270 </test-case>
271 <test-case FilePath="basic">
272 <compilation-unit name="issue_363_temporal_key_4">
273 <output-dir compare="Text">issue_363_temporal_key_4</output-dir>
274 </compilation-unit>
275 </test-case>
JArodbec665e2013-05-26 13:52:27 -0700276 <test-case FilePath="basic">
277 <compilation-unit name="issue_363_temporal_sec_key_0">
278 <output-dir compare="Text">issue_363_temporal_sec_key_0</output-dir>
279 </compilation-unit>
280 </test-case>
281 <test-case FilePath="basic">
282 <compilation-unit name="issue_363_temporal_sec_key_1">
283 <output-dir compare="Text">issue_363_temporal_sec_key_1</output-dir>
284 </compilation-unit>
285 </test-case>
286 <test-case FilePath="basic">
287 <compilation-unit name="issue_363_temporal_sec_key_2">
288 <output-dir compare="Text">issue_363_temporal_sec_key_2</output-dir>
289 </compilation-unit>
290 </test-case>
291 <test-case FilePath="basic">
292 <compilation-unit name="issue_363_temporal_sec_key_3">
293 <output-dir compare="Text">issue_363_temporal_sec_key_3</output-dir>
294 </compilation-unit>
295 </test-case>
296 <test-case FilePath="basic">
297 <compilation-unit name="issue_363_temporal_sec_key_4">
298 <output-dir compare="Text">issue_363_temporal_sec_key_4</output-dir>
299 </compilation-unit>
300 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700301 <test-case FilePath="basic">
Taewoo Kim0c8e22d2016-02-16 12:29:02 -0800302 <compilation-unit name="metadata_selfjoin">
303 <output-dir compare="Text">metadata_selfjoin</output-dir>
304 </compilation-unit>
305 </test-case>
306 <test-case FilePath="basic">
buyingyiccd67fe2015-05-19 11:53:39 -0700307 <compilation-unit name="temp_dataset">
308 <output-dir compare="Text">temp_dataset</output-dir>
309 </compilation-unit>
310 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000311 </test-group>
312 <test-group name="exception">
313 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000314 <compilation-unit name="issue_239_drop_system_dataset_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000315 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800316 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000317 </compilation-unit>
318 </test-case>
319 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000320 <compilation-unit name="issue_239_drop_system_dataset_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000321 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800322 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000323 </compilation-unit>
324 </test-case>
325 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000326 <compilation-unit name="issue_239_drop_system_dataset_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000327 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800328 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000329 </compilation-unit>
330 </test-case>
331 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000332 <compilation-unit name="issue_239_drop_system_dataset_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000333 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800334 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000335 </compilation-unit>
336 </test-case>
337 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000338 <compilation-unit name="issue_239_drop_system_dataset_5">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000339 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800340 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000341 </compilation-unit>
342 </test-case>
343 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000344 <compilation-unit name="issue_239_drop_system_dataset_6">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000345 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800346 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000347 </compilation-unit>
348 </test-case>
349 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000350 <compilation-unit name="issue_239_drop_system_dataset_7">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000351 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800352 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
ramangrover29fbaba5f2013-01-26 02:36:29 +0000353 </compilation-unit>
354 </test-case>
355 <test-case FilePath="exception">
356 <compilation-unit name="issue_239_drop_system_dataset_8">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000357 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800358 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000359 </compilation-unit>
360 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000361 <test-case FilePath="exception">
362 <compilation-unit name="issue_251_dataset_hint_error_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000363 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800364 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: TUPLE_SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000365 </compilation-unit>
366 </test-case>
367 <test-case FilePath="exception">
368 <compilation-unit name="issue_251_dataset_hint_error_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000369 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800370 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000371 </compilation-unit>
372 </test-case>
salsubaieef9c57c92013-04-18 14:23:04 -0700373 <test-case FilePath="exception">
salsubaiee9f0569d2013-04-19 21:06:56 -0700374 <compilation-unit name="issue_272_create_index_error_1">
salsubaieef9c57c92013-04-18 14:23:04 -0700375 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700376 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaiee9f0569d2013-04-19 21:06:56 -0700377 </compilation-unit>
378 </test-case>
379 <test-case FilePath="exception">
380 <compilation-unit name="issue_272_create_index_error_2">
381 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700382 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaieef9c57c92013-04-18 14:23:04 -0700383 </compilation-unit>
384 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800385 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieeab851302013-04-22 16:01:01 -0700386 <test-case FilePath="exception">
salsubaieef5af2772013-04-22 13:34:33 -0700387 <compilation-unit name="issue_255_create_dataset_error_1">
388 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800389 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieef5af2772013-04-22 13:34:33 -0700390 </compilation-unit>
391 </test-case>
392 <test-case FilePath="exception">
393 <compilation-unit name="issue_255_create_dataset_error_2">
salsubaieed0d3aca2013-04-18 14:35:16 -0700394 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800395 <expected-error>SyntaxError: The partitioning key "[open-type]" cannot be of type RECORD.</expected-error>
salsubaieee7000452013-04-19 21:36:44 -0700396 </compilation-unit>
397 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800398 <!-- Feed datasets are not supported anymore
salsubaieee7000452013-04-19 21:36:44 -0700399 <test-case FilePath="exception">
400 <compilation-unit name="issue_255_create_feed_error">
401 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800402 <expected-error>org.json.JSONException: JSONObject["summary"] not found</expected-error>
salsubaieed0d3aca2013-04-18 14:35:16 -0700403 </compilation-unit>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800404 </test-case> -->
405 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieea0d53d92013-04-22 20:58:43 -0700406 <test-case FilePath="exception">
407 <compilation-unit name="issue_266_create_dataset_error_1">
408 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800409 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700410 </compilation-unit>
411 </test-case>
412 <test-case FilePath="exception">
413 <compilation-unit name="issue_266_create_dataset_error_2">
414 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800415 <expected-error>SyntaxError: The partitioning key "[id]" cannot be nullable</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700416 </compilation-unit>
417 </test-case>
salsubaieeded644d2013-04-23 16:20:48 -0700418 <test-case FilePath="exception">
419 <compilation-unit name="issue_384_create_index_error_1">
420 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800421 <expected-error>SyntaxError: The field "[loc]" which is of type POINT cannot be indexed using the BTree index.</expected-error>
salsubaieeded644d2013-04-23 16:20:48 -0700422 </compilation-unit>
423 </test-case>
424 <test-case FilePath="exception">
425 <compilation-unit name="issue_384_create_index_error_2">
426 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800427 <expected-error>SyntaxError: The field "[age]" which is of type INT32 cannot be indexed using the RTree index.</expected-error>
salsubaieeded644d2013-04-23 16:20:48 -0700428 </compilation-unit>
429 </test-case>
430 <test-case FilePath="exception">
431 <compilation-unit name="issue_384_create_index_error_3">
432 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800433 <expected-error>SyntaxError: The field "[loc]" which is of type POINT cannot be indexed using the Length Partitioned Keyword index.</expected-error>
salsubaieeded644d2013-04-23 16:20:48 -0700434 </compilation-unit>
435 </test-case>
436 <test-case FilePath="exception">
437 <compilation-unit name="issue_384_create_index_error_4">
438 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800439 <expected-error>SyntaxError: The field "[loc]" which is of type POINT cannot be indexed using the Length Partitioned Keyword index.</expected-error>
salsubaieeded644d2013-04-23 16:20:48 -0700440 </compilation-unit>
441 </test-case>
442 <test-case FilePath="exception">
443 <compilation-unit name="issue_384_create_index_error_5">
444 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800445 <expected-error>SyntaxError: The field "[loc]" which is of type POINT cannot be indexed using the Length Partitioned N-Gram index.</expected-error>
salsubaieeded644d2013-04-23 16:20:48 -0700446 </compilation-unit>
447 </test-case>
448 <test-case FilePath="exception">
449 <compilation-unit name="issue_384_create_index_error_6">
450 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800451 <expected-error>SyntaxError: The field "[loc]" which is of type POINT cannot be indexed using the Length Partitioned N-Gram index.</expected-error>
salsubaieeded644d2013-04-23 16:20:48 -0700452 </compilation-unit>
453 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000454 </test-group>
455 <test-group name="transaction">
456 <test-case FilePath="transaction">
457 <compilation-unit name="failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000458 <output-dir compare="Text">failure_previous_success</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800459 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: A datatype with this name StreetType already exists</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000460 </compilation-unit>
461 <compilation-unit name="verify_failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000462 <output-dir compare="Text">verify_failure_previous_success</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000463 </compilation-unit>
464 </test-case>
465 <test-case FilePath="transaction">
466 <compilation-unit name="failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000467 <output-dir compare="Text">failure_subsequent_no_execution</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800468 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: A nodegroup with this name group1 already exists</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000469 </compilation-unit>
470 <compilation-unit name="verify_failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000471 <output-dir compare="Text">verify_failure_subsequent_no_execution</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000472 </compilation-unit>
473 </test-case>
474 </test-group>
Ildar Absalyamov04b2b772015-03-19 15:09:51 -0700475</test-suite>