blob: 595eb84777e5afffeba6023c0ac27505bd5af756 [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">
Yingyi Buc9bfe252016-03-01 00:02:40 -080047 <compilation-unit name="dataset_with_meta-6">
48 <output-dir compare="Text">dataset_with_meta-6</output-dir>
49 </compilation-unit>
50 </test-case>
51 <test-case FilePath="basic">
52 <compilation-unit name="dataset_with_meta-7">
53 <output-dir compare="Text">dataset_with_meta-7</output-dir>
54 </compilation-unit>
55 </test-case>
56 <test-case FilePath="basic">
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000057 <compilation-unit name="meta01">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +000058 <output-dir compare="Text">meta01</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000059 </compilation-unit>
60 </test-case>
61 <test-case FilePath="basic">
62 <compilation-unit name="meta02">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +000063 <output-dir compare="Text">meta02</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000064 </compilation-unit>
65 </test-case>
66 <test-case FilePath="basic">
Ildar Absalyamova5895302015-08-17 23:15:41 -070067 <compilation-unit name="meta03_builtin_type">
68 <output-dir compare="Text">meta03/builtin_type</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000069 </compilation-unit>
70 </test-case>
71 <test-case FilePath="basic">
Ildar Absalyamova5895302015-08-17 23:15:41 -070072 <compilation-unit name="meta03_builtin_type_nullable">
73 <output-dir compare="Text">meta03/builtin_type_nullable</output-dir>
74 </compilation-unit>
75 </test-case>
76 <test-case FilePath="basic">
77 <compilation-unit name="meta03_ordered_list">
78 <output-dir compare="Text">meta03/complex_type/ordered_list</output-dir>
79 </compilation-unit>
80 </test-case>
81 <test-case FilePath="basic">
82 <compilation-unit name="meta03_ordered_list_nullable">
83 <output-dir compare="Text">meta03/complex_type/ordered_list</output-dir>
84 </compilation-unit>
85 </test-case>
86 <test-case FilePath="basic">
87 <compilation-unit name="meta03_record">
88 <output-dir compare="Text">meta03/complex_type/record</output-dir>
89 </compilation-unit>
90 </test-case>
91 <test-case FilePath="basic">
92 <compilation-unit name="meta03_record_nullable">
93 <output-dir compare="Text">meta03/complex_type/record</output-dir>
94 </compilation-unit>
95 </test-case>
96 <test-case FilePath="basic">
97 <compilation-unit name="meta03_unordered_list">
98 <output-dir compare="Text">meta03/complex_type/unordered_list</output-dir>
99 </compilation-unit>
100 </test-case>
101 <test-case FilePath="basic">
102 <compilation-unit name="meta03_unordered_list_nullable">
103 <output-dir compare="Text">meta03/complex_type/unordered_list</output-dir>
104 </compilation-unit>
105 </test-case>
106 <test-case FilePath="basic">
107 <compilation-unit name="meta04_builtin_type">
108 <output-dir compare="Text">meta04/builtin_type</output-dir>
109 </compilation-unit>
110 </test-case>
111 <test-case FilePath="basic">
112 <compilation-unit name="meta04_builtin_type_nullable">
113 <output-dir compare="Text">meta04/builtin_type_nullable</output-dir>
114 </compilation-unit>
115 </test-case>
116 <test-case FilePath="basic">
117 <compilation-unit name="meta04_ordered_list">
118 <output-dir compare="Text">meta04/complex_type/ordered_list</output-dir>
119 </compilation-unit>
120 </test-case>
121 <test-case FilePath="basic">
122 <compilation-unit name="meta04_ordered_list_nullable">
123 <output-dir compare="Text">meta04/complex_type/ordered_list</output-dir>
124 </compilation-unit>
125 </test-case>
126 <test-case FilePath="basic">
127 <compilation-unit name="meta04_record">
128 <output-dir compare="Text">meta04/complex_type/record</output-dir>
129 </compilation-unit>
130 </test-case>
131 <test-case FilePath="basic">
132 <compilation-unit name="meta04_record_nullable">
133 <output-dir compare="Text">meta04/complex_type/record</output-dir>
134 </compilation-unit>
135 </test-case>
136 <test-case FilePath="basic">
137 <compilation-unit name="meta04_unordered_list">
138 <output-dir compare="Text">meta04/complex_type/unordered_list</output-dir>
139 </compilation-unit>
140 </test-case>
141 <test-case FilePath="basic">
142 <compilation-unit name="meta04_unordered_list_nullable">
143 <output-dir compare="Text">meta04/complex_type/unordered_list</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="meta05">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000148 <output-dir compare="Text">meta05</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="meta06">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000153 <output-dir compare="Text">meta06</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="meta07">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000158 <output-dir compare="Text">meta07</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="meta08">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000163 <output-dir compare="Text">meta08</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="meta09">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000168 <output-dir compare="Text">meta09</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="meta10">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000173 <output-dir compare="Text">meta10</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="meta11">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000178 <output-dir compare="Text">meta11</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="meta12">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000183 <output-dir compare="Text">meta12</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="meta13">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000188 <output-dir compare="Text">meta13</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="meta14">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000193 <output-dir compare="Text">meta14</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="meta15">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000198 <output-dir compare="Text">meta15</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000199 </compilation-unit>
200 </test-case>
201 <test-case FilePath="basic">
202 <compilation-unit name="meta16">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000203 <output-dir compare="Text">meta16</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000204 </compilation-unit>
205 </test-case>
206 <test-case FilePath="basic">
207 <compilation-unit name="meta17">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000208 <output-dir compare="Text">meta17</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000209 </compilation-unit>
210 </test-case>
211 <test-case FilePath="basic">
salsubaieec449de92013-11-13 21:03:27 -0800212 <compilation-unit name="metadata_compaction_policy">
213 <output-dir compare="Text">metadata_compaction_policy</output-dir>
214 </compilation-unit>
215 </test-case>
216 <test-case FilePath="basic">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000217 <compilation-unit name="metadata_dataset">
218 <output-dir compare="Text">metadata_dataset</output-dir>
219 </compilation-unit>
220 </test-case>
221 <test-case FilePath="basic">
222 <compilation-unit name="metadata_dataverse">
223 <output-dir compare="Text">metadata_dataverse</output-dir>
224 </compilation-unit>
225 </test-case>
226 <test-case FilePath="basic">
227 <compilation-unit name="metadata_datatype">
228 <output-dir compare="Text">metadata_datatype</output-dir>
229 </compilation-unit>
230 </test-case>
231 <test-case FilePath="basic">
232 <compilation-unit name="metadata_index">
233 <output-dir compare="Text">metadata_index</output-dir>
234 </compilation-unit>
235 </test-case>
236 <test-case FilePath="basic">
237 <compilation-unit name="metadata_node">
238 <output-dir compare="Text">metadata_node</output-dir>
239 </compilation-unit>
240 </test-case>
241 <test-case FilePath="basic">
242 <compilation-unit name="metadata_nodegroup">
243 <output-dir compare="Text">metadata_nodegroup</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000244 </compilation-unit>
245 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000246 <test-case FilePath="basic">
247 <compilation-unit name="issue_251_dataset_hint_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000248 <output-dir compare="Text">issue_251_dataset_hint_2</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000249 </compilation-unit>
250 </test-case>
251 <test-case FilePath="basic">
252 <compilation-unit name="issue_251_dataset_hint_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000253 <output-dir compare="Text">issue_251_dataset_hint_3</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000254 </compilation-unit>
255 </test-case>
256 <test-case FilePath="basic">
257 <compilation-unit name="issue_251_dataset_hint_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000258 <output-dir compare="Text">issue_251_dataset_hint_4</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000259 </compilation-unit>
260 </test-case>
JArodad6da692013-05-01 16:58:27 -0700261 <test-case FilePath="basic">
262 <compilation-unit name="issue_363_temporal_key_0">
263 <output-dir compare="Text">issue_363_temporal_key_0</output-dir>
264 </compilation-unit>
265 </test-case>
JArode3ba6322013-05-01 23:17:40 -0700266 <test-case FilePath="basic">
267 <compilation-unit name="issue_363_temporal_key_1">
268 <output-dir compare="Text">issue_363_temporal_key_1</output-dir>
269 </compilation-unit>
270 </test-case>
271 <test-case FilePath="basic">
272 <compilation-unit name="issue_363_temporal_key_2">
273 <output-dir compare="Text">issue_363_temporal_key_2</output-dir>
274 </compilation-unit>
275 </test-case>
276 <test-case FilePath="basic">
277 <compilation-unit name="issue_363_temporal_key_3">
278 <output-dir compare="Text">issue_363_temporal_key_3</output-dir>
279 </compilation-unit>
280 </test-case>
281 <test-case FilePath="basic">
282 <compilation-unit name="issue_363_temporal_key_4">
283 <output-dir compare="Text">issue_363_temporal_key_4</output-dir>
284 </compilation-unit>
285 </test-case>
JArodbec665e2013-05-26 13:52:27 -0700286 <test-case FilePath="basic">
287 <compilation-unit name="issue_363_temporal_sec_key_0">
288 <output-dir compare="Text">issue_363_temporal_sec_key_0</output-dir>
289 </compilation-unit>
290 </test-case>
291 <test-case FilePath="basic">
292 <compilation-unit name="issue_363_temporal_sec_key_1">
293 <output-dir compare="Text">issue_363_temporal_sec_key_1</output-dir>
294 </compilation-unit>
295 </test-case>
296 <test-case FilePath="basic">
297 <compilation-unit name="issue_363_temporal_sec_key_2">
298 <output-dir compare="Text">issue_363_temporal_sec_key_2</output-dir>
299 </compilation-unit>
300 </test-case>
301 <test-case FilePath="basic">
302 <compilation-unit name="issue_363_temporal_sec_key_3">
303 <output-dir compare="Text">issue_363_temporal_sec_key_3</output-dir>
304 </compilation-unit>
305 </test-case>
306 <test-case FilePath="basic">
307 <compilation-unit name="issue_363_temporal_sec_key_4">
308 <output-dir compare="Text">issue_363_temporal_sec_key_4</output-dir>
309 </compilation-unit>
310 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700311 <test-case FilePath="basic">
Taewoo Kim0c8e22d2016-02-16 12:29:02 -0800312 <compilation-unit name="metadata_selfjoin">
313 <output-dir compare="Text">metadata_selfjoin</output-dir>
314 </compilation-unit>
315 </test-case>
316 <test-case FilePath="basic">
buyingyiccd67fe2015-05-19 11:53:39 -0700317 <compilation-unit name="temp_dataset">
318 <output-dir compare="Text">temp_dataset</output-dir>
319 </compilation-unit>
320 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000321 </test-group>
322 <test-group name="exception">
323 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000324 <compilation-unit name="issue_239_drop_system_dataset_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000325 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800326 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000327 </compilation-unit>
328 </test-case>
329 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000330 <compilation-unit name="issue_239_drop_system_dataset_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000331 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800332 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000333 </compilation-unit>
334 </test-case>
335 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000336 <compilation-unit name="issue_239_drop_system_dataset_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000337 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800338 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000339 </compilation-unit>
340 </test-case>
341 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000342 <compilation-unit name="issue_239_drop_system_dataset_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000343 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800344 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000345 </compilation-unit>
346 </test-case>
347 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000348 <compilation-unit name="issue_239_drop_system_dataset_5">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000349 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800350 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000351 </compilation-unit>
352 </test-case>
353 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000354 <compilation-unit name="issue_239_drop_system_dataset_6">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000355 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800356 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000357 </compilation-unit>
358 </test-case>
359 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000360 <compilation-unit name="issue_239_drop_system_dataset_7">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000361 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800362 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
ramangrover29fbaba5f2013-01-26 02:36:29 +0000363 </compilation-unit>
364 </test-case>
365 <test-case FilePath="exception">
366 <compilation-unit name="issue_239_drop_system_dataset_8">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000367 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800368 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000369 </compilation-unit>
370 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000371 <test-case FilePath="exception">
372 <compilation-unit name="issue_251_dataset_hint_error_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000373 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800374 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: TUPLE_SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000375 </compilation-unit>
376 </test-case>
377 <test-case FilePath="exception">
378 <compilation-unit name="issue_251_dataset_hint_error_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000379 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800380 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000381 </compilation-unit>
382 </test-case>
salsubaieef9c57c92013-04-18 14:23:04 -0700383 <test-case FilePath="exception">
salsubaiee9f0569d2013-04-19 21:06:56 -0700384 <compilation-unit name="issue_272_create_index_error_1">
salsubaieef9c57c92013-04-18 14:23:04 -0700385 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700386 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaiee9f0569d2013-04-19 21:06:56 -0700387 </compilation-unit>
388 </test-case>
389 <test-case FilePath="exception">
390 <compilation-unit name="issue_272_create_index_error_2">
391 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700392 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaieef9c57c92013-04-18 14:23:04 -0700393 </compilation-unit>
394 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800395 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieeab851302013-04-22 16:01:01 -0700396 <test-case FilePath="exception">
salsubaieef5af2772013-04-22 13:34:33 -0700397 <compilation-unit name="issue_255_create_dataset_error_1">
398 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800399 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieef5af2772013-04-22 13:34:33 -0700400 </compilation-unit>
401 </test-case>
402 <test-case FilePath="exception">
403 <compilation-unit name="issue_255_create_dataset_error_2">
salsubaieed0d3aca2013-04-18 14:35:16 -0700404 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800405 <expected-error>SyntaxError: The partitioning key "[open-type]" cannot be of type RECORD.</expected-error>
salsubaieee7000452013-04-19 21:36:44 -0700406 </compilation-unit>
407 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800408 <!-- Feed datasets are not supported anymore
salsubaieee7000452013-04-19 21:36:44 -0700409 <test-case FilePath="exception">
410 <compilation-unit name="issue_255_create_feed_error">
411 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800412 <expected-error>org.json.JSONException: JSONObject["summary"] not found</expected-error>
salsubaieed0d3aca2013-04-18 14:35:16 -0700413 </compilation-unit>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800414 </test-case> -->
415 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieea0d53d92013-04-22 20:58:43 -0700416 <test-case FilePath="exception">
417 <compilation-unit name="issue_266_create_dataset_error_1">
418 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800419 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700420 </compilation-unit>
421 </test-case>
422 <test-case FilePath="exception">
423 <compilation-unit name="issue_266_create_dataset_error_2">
424 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800425 <expected-error>SyntaxError: The partitioning key "[id]" cannot be nullable</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700426 </compilation-unit>
427 </test-case>
salsubaieeded644d2013-04-23 16:20:48 -0700428 <test-case FilePath="exception">
429 <compilation-unit name="issue_384_create_index_error_1">
430 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800431 <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 -0700432 </compilation-unit>
433 </test-case>
434 <test-case FilePath="exception">
435 <compilation-unit name="issue_384_create_index_error_2">
436 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800437 <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 -0700438 </compilation-unit>
439 </test-case>
440 <test-case FilePath="exception">
441 <compilation-unit name="issue_384_create_index_error_3">
442 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800443 <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 -0700444 </compilation-unit>
445 </test-case>
446 <test-case FilePath="exception">
447 <compilation-unit name="issue_384_create_index_error_4">
448 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800449 <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 -0700450 </compilation-unit>
451 </test-case>
452 <test-case FilePath="exception">
453 <compilation-unit name="issue_384_create_index_error_5">
454 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800455 <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 -0700456 </compilation-unit>
457 </test-case>
458 <test-case FilePath="exception">
459 <compilation-unit name="issue_384_create_index_error_6">
460 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800461 <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 -0700462 </compilation-unit>
463 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000464 </test-group>
465 <test-group name="transaction">
466 <test-case FilePath="transaction">
467 <compilation-unit name="failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000468 <output-dir compare="Text">failure_previous_success</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800469 <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 +0000470 </compilation-unit>
471 <compilation-unit name="verify_failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000472 <output-dir compare="Text">verify_failure_previous_success</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000473 </compilation-unit>
474 </test-case>
475 <test-case FilePath="transaction">
476 <compilation-unit name="failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000477 <output-dir compare="Text">failure_subsequent_no_execution</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800478 <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 +0000479 </compilation-unit>
480 <compilation-unit name="verify_failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000481 <output-dir compare="Text">verify_failure_subsequent_no_execution</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000482 </compilation-unit>
483 </test-case>
484 </test-group>
Ildar Absalyamov04b2b772015-03-19 15:09:51 -0700485</test-suite>