blob: cb838cc15d767aacf3e4a84c6560dfb05ec5f75f [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">
Ian Maxon697ac792016-03-18 17:57:52 -0700212 <compilation-unit name="meta24">
213 <output-dir compare="Text">meta24</output-dir>
214 </compilation-unit>
215 </test-case>
216 <test-case FilePath="basic">
salsubaieec449de92013-11-13 21:03:27 -0800217 <compilation-unit name="metadata_compaction_policy">
218 <output-dir compare="Text">metadata_compaction_policy</output-dir>
219 </compilation-unit>
220 </test-case>
221 <test-case FilePath="basic">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000222 <compilation-unit name="metadata_dataset">
223 <output-dir compare="Text">metadata_dataset</output-dir>
224 </compilation-unit>
225 </test-case>
226 <test-case FilePath="basic">
227 <compilation-unit name="metadata_dataverse">
228 <output-dir compare="Text">metadata_dataverse</output-dir>
229 </compilation-unit>
230 </test-case>
231 <test-case FilePath="basic">
232 <compilation-unit name="metadata_datatype">
233 <output-dir compare="Text">metadata_datatype</output-dir>
234 </compilation-unit>
235 </test-case>
236 <test-case FilePath="basic">
237 <compilation-unit name="metadata_index">
238 <output-dir compare="Text">metadata_index</output-dir>
239 </compilation-unit>
240 </test-case>
241 <test-case FilePath="basic">
242 <compilation-unit name="metadata_node">
243 <output-dir compare="Text">metadata_node</output-dir>
244 </compilation-unit>
245 </test-case>
246 <test-case FilePath="basic">
247 <compilation-unit name="metadata_nodegroup">
248 <output-dir compare="Text">metadata_nodegroup</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000249 </compilation-unit>
250 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000251 <test-case FilePath="basic">
252 <compilation-unit name="issue_251_dataset_hint_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000253 <output-dir compare="Text">issue_251_dataset_hint_2</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_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000258 <output-dir compare="Text">issue_251_dataset_hint_3</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000259 </compilation-unit>
260 </test-case>
261 <test-case FilePath="basic">
262 <compilation-unit name="issue_251_dataset_hint_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000263 <output-dir compare="Text">issue_251_dataset_hint_4</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000264 </compilation-unit>
265 </test-case>
JArodad6da692013-05-01 16:58:27 -0700266 <test-case FilePath="basic">
267 <compilation-unit name="issue_363_temporal_key_0">
268 <output-dir compare="Text">issue_363_temporal_key_0</output-dir>
269 </compilation-unit>
270 </test-case>
JArode3ba6322013-05-01 23:17:40 -0700271 <test-case FilePath="basic">
272 <compilation-unit name="issue_363_temporal_key_1">
273 <output-dir compare="Text">issue_363_temporal_key_1</output-dir>
274 </compilation-unit>
275 </test-case>
276 <test-case FilePath="basic">
277 <compilation-unit name="issue_363_temporal_key_2">
278 <output-dir compare="Text">issue_363_temporal_key_2</output-dir>
279 </compilation-unit>
280 </test-case>
281 <test-case FilePath="basic">
282 <compilation-unit name="issue_363_temporal_key_3">
283 <output-dir compare="Text">issue_363_temporal_key_3</output-dir>
284 </compilation-unit>
285 </test-case>
286 <test-case FilePath="basic">
287 <compilation-unit name="issue_363_temporal_key_4">
288 <output-dir compare="Text">issue_363_temporal_key_4</output-dir>
289 </compilation-unit>
290 </test-case>
JArodbec665e2013-05-26 13:52:27 -0700291 <test-case FilePath="basic">
292 <compilation-unit name="issue_363_temporal_sec_key_0">
293 <output-dir compare="Text">issue_363_temporal_sec_key_0</output-dir>
294 </compilation-unit>
295 </test-case>
296 <test-case FilePath="basic">
297 <compilation-unit name="issue_363_temporal_sec_key_1">
298 <output-dir compare="Text">issue_363_temporal_sec_key_1</output-dir>
299 </compilation-unit>
300 </test-case>
301 <test-case FilePath="basic">
302 <compilation-unit name="issue_363_temporal_sec_key_2">
303 <output-dir compare="Text">issue_363_temporal_sec_key_2</output-dir>
304 </compilation-unit>
305 </test-case>
306 <test-case FilePath="basic">
307 <compilation-unit name="issue_363_temporal_sec_key_3">
308 <output-dir compare="Text">issue_363_temporal_sec_key_3</output-dir>
309 </compilation-unit>
310 </test-case>
311 <test-case FilePath="basic">
312 <compilation-unit name="issue_363_temporal_sec_key_4">
313 <output-dir compare="Text">issue_363_temporal_sec_key_4</output-dir>
314 </compilation-unit>
315 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700316 <test-case FilePath="basic">
Taewoo Kim0c8e22d2016-02-16 12:29:02 -0800317 <compilation-unit name="metadata_selfjoin">
318 <output-dir compare="Text">metadata_selfjoin</output-dir>
319 </compilation-unit>
320 </test-case>
321 <test-case FilePath="basic">
buyingyiccd67fe2015-05-19 11:53:39 -0700322 <compilation-unit name="temp_dataset">
323 <output-dir compare="Text">temp_dataset</output-dir>
324 </compilation-unit>
325 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000326 </test-group>
327 <test-group name="exception">
328 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000329 <compilation-unit name="issue_239_drop_system_dataset_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000330 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800331 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000332 </compilation-unit>
333 </test-case>
334 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000335 <compilation-unit name="issue_239_drop_system_dataset_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000336 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800337 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000338 </compilation-unit>
339 </test-case>
340 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000341 <compilation-unit name="issue_239_drop_system_dataset_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000342 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800343 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000344 </compilation-unit>
345 </test-case>
346 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000347 <compilation-unit name="issue_239_drop_system_dataset_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000348 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800349 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000350 </compilation-unit>
351 </test-case>
352 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000353 <compilation-unit name="issue_239_drop_system_dataset_5">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000354 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800355 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000356 </compilation-unit>
357 </test-case>
358 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000359 <compilation-unit name="issue_239_drop_system_dataset_6">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000360 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800361 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000362 </compilation-unit>
363 </test-case>
364 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000365 <compilation-unit name="issue_239_drop_system_dataset_7">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000366 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800367 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
ramangrover29fbaba5f2013-01-26 02:36:29 +0000368 </compilation-unit>
369 </test-case>
370 <test-case FilePath="exception">
371 <compilation-unit name="issue_239_drop_system_dataset_8">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000372 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800373 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000374 </compilation-unit>
375 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000376 <test-case FilePath="exception">
377 <compilation-unit name="issue_251_dataset_hint_error_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000378 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800379 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: TUPLE_SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000380 </compilation-unit>
381 </test-case>
382 <test-case FilePath="exception">
383 <compilation-unit name="issue_251_dataset_hint_error_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000384 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800385 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000386 </compilation-unit>
387 </test-case>
salsubaieef9c57c92013-04-18 14:23:04 -0700388 <test-case FilePath="exception">
salsubaiee9f0569d2013-04-19 21:06:56 -0700389 <compilation-unit name="issue_272_create_index_error_1">
salsubaieef9c57c92013-04-18 14:23:04 -0700390 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700391 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaiee9f0569d2013-04-19 21:06:56 -0700392 </compilation-unit>
393 </test-case>
394 <test-case FilePath="exception">
395 <compilation-unit name="issue_272_create_index_error_2">
396 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700397 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaieef9c57c92013-04-18 14:23:04 -0700398 </compilation-unit>
399 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800400 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieeab851302013-04-22 16:01:01 -0700401 <test-case FilePath="exception">
salsubaieef5af2772013-04-22 13:34:33 -0700402 <compilation-unit name="issue_255_create_dataset_error_1">
403 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800404 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieef5af2772013-04-22 13:34:33 -0700405 </compilation-unit>
406 </test-case>
407 <test-case FilePath="exception">
408 <compilation-unit name="issue_255_create_dataset_error_2">
salsubaieed0d3aca2013-04-18 14:35:16 -0700409 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800410 <expected-error>SyntaxError: The partitioning key "[open-type]" cannot be of type RECORD.</expected-error>
salsubaieee7000452013-04-19 21:36:44 -0700411 </compilation-unit>
412 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800413 <!-- Feed datasets are not supported anymore
salsubaieee7000452013-04-19 21:36:44 -0700414 <test-case FilePath="exception">
415 <compilation-unit name="issue_255_create_feed_error">
416 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800417 <expected-error>org.json.JSONException: JSONObject["summary"] not found</expected-error>
salsubaieed0d3aca2013-04-18 14:35:16 -0700418 </compilation-unit>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800419 </test-case> -->
420 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieea0d53d92013-04-22 20:58:43 -0700421 <test-case FilePath="exception">
422 <compilation-unit name="issue_266_create_dataset_error_1">
423 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800424 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700425 </compilation-unit>
426 </test-case>
427 <test-case FilePath="exception">
428 <compilation-unit name="issue_266_create_dataset_error_2">
429 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800430 <expected-error>SyntaxError: The partitioning key "[id]" cannot be nullable</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700431 </compilation-unit>
432 </test-case>
salsubaieeded644d2013-04-23 16:20:48 -0700433 <test-case FilePath="exception">
434 <compilation-unit name="issue_384_create_index_error_1">
435 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800436 <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 -0700437 </compilation-unit>
438 </test-case>
439 <test-case FilePath="exception">
440 <compilation-unit name="issue_384_create_index_error_2">
441 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800442 <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 -0700443 </compilation-unit>
444 </test-case>
445 <test-case FilePath="exception">
446 <compilation-unit name="issue_384_create_index_error_3">
447 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800448 <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 -0700449 </compilation-unit>
450 </test-case>
451 <test-case FilePath="exception">
452 <compilation-unit name="issue_384_create_index_error_4">
453 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800454 <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 -0700455 </compilation-unit>
456 </test-case>
457 <test-case FilePath="exception">
458 <compilation-unit name="issue_384_create_index_error_5">
459 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800460 <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 -0700461 </compilation-unit>
462 </test-case>
463 <test-case FilePath="exception">
464 <compilation-unit name="issue_384_create_index_error_6">
465 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800466 <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 -0700467 </compilation-unit>
468 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000469 </test-group>
470 <test-group name="transaction">
471 <test-case FilePath="transaction">
472 <compilation-unit name="failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000473 <output-dir compare="Text">failure_previous_success</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800474 <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 +0000475 </compilation-unit>
476 <compilation-unit name="verify_failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000477 <output-dir compare="Text">verify_failure_previous_success</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000478 </compilation-unit>
479 </test-case>
480 <test-case FilePath="transaction">
481 <compilation-unit name="failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000482 <output-dir compare="Text">failure_subsequent_no_execution</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800483 <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 +0000484 </compilation-unit>
485 <compilation-unit name="verify_failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000486 <output-dir compare="Text">verify_failure_subsequent_no_execution</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000487 </compilation-unit>
488 </test-case>
489 </test-group>
Ildar Absalyamov04b2b772015-03-19 15:09:51 -0700490</test-suite>