blob: bba2ab04460cb2acf8ef4c116621c65d751b7b5b [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">
22 <compilation-unit name="meta01">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +000023 <output-dir compare="Text">meta01</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000024 </compilation-unit>
25 </test-case>
26 <test-case FilePath="basic">
27 <compilation-unit name="meta02">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +000028 <output-dir compare="Text">meta02</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000029 </compilation-unit>
30 </test-case>
31 <test-case FilePath="basic">
Ildar Absalyamova5895302015-08-17 23:15:41 -070032 <compilation-unit name="meta03_builtin_type">
33 <output-dir compare="Text">meta03/builtin_type</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +000034 </compilation-unit>
35 </test-case>
36 <test-case FilePath="basic">
Ildar Absalyamova5895302015-08-17 23:15:41 -070037 <compilation-unit name="meta03_builtin_type_nullable">
38 <output-dir compare="Text">meta03/builtin_type_nullable</output-dir>
39 </compilation-unit>
40 </test-case>
41 <test-case FilePath="basic">
42 <compilation-unit name="meta03_ordered_list">
43 <output-dir compare="Text">meta03/complex_type/ordered_list</output-dir>
44 </compilation-unit>
45 </test-case>
46 <test-case FilePath="basic">
47 <compilation-unit name="meta03_ordered_list_nullable">
48 <output-dir compare="Text">meta03/complex_type/ordered_list</output-dir>
49 </compilation-unit>
50 </test-case>
51 <test-case FilePath="basic">
52 <compilation-unit name="meta03_record">
53 <output-dir compare="Text">meta03/complex_type/record</output-dir>
54 </compilation-unit>
55 </test-case>
56 <test-case FilePath="basic">
57 <compilation-unit name="meta03_record_nullable">
58 <output-dir compare="Text">meta03/complex_type/record</output-dir>
59 </compilation-unit>
60 </test-case>
61 <test-case FilePath="basic">
62 <compilation-unit name="meta03_unordered_list">
63 <output-dir compare="Text">meta03/complex_type/unordered_list</output-dir>
64 </compilation-unit>
65 </test-case>
66 <test-case FilePath="basic">
67 <compilation-unit name="meta03_unordered_list_nullable">
68 <output-dir compare="Text">meta03/complex_type/unordered_list</output-dir>
69 </compilation-unit>
70 </test-case>
71 <test-case FilePath="basic">
72 <compilation-unit name="meta04_builtin_type">
73 <output-dir compare="Text">meta04/builtin_type</output-dir>
74 </compilation-unit>
75 </test-case>
76 <test-case FilePath="basic">
77 <compilation-unit name="meta04_builtin_type_nullable">
78 <output-dir compare="Text">meta04/builtin_type_nullable</output-dir>
79 </compilation-unit>
80 </test-case>
81 <test-case FilePath="basic">
82 <compilation-unit name="meta04_ordered_list">
83 <output-dir compare="Text">meta04/complex_type/ordered_list</output-dir>
84 </compilation-unit>
85 </test-case>
86 <test-case FilePath="basic">
87 <compilation-unit name="meta04_ordered_list_nullable">
88 <output-dir compare="Text">meta04/complex_type/ordered_list</output-dir>
89 </compilation-unit>
90 </test-case>
91 <test-case FilePath="basic">
92 <compilation-unit name="meta04_record">
93 <output-dir compare="Text">meta04/complex_type/record</output-dir>
94 </compilation-unit>
95 </test-case>
96 <test-case FilePath="basic">
97 <compilation-unit name="meta04_record_nullable">
98 <output-dir compare="Text">meta04/complex_type/record</output-dir>
99 </compilation-unit>
100 </test-case>
101 <test-case FilePath="basic">
102 <compilation-unit name="meta04_unordered_list">
103 <output-dir compare="Text">meta04/complex_type/unordered_list</output-dir>
104 </compilation-unit>
105 </test-case>
106 <test-case FilePath="basic">
107 <compilation-unit name="meta04_unordered_list_nullable">
108 <output-dir compare="Text">meta04/complex_type/unordered_list</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000109 </compilation-unit>
110 </test-case>
111 <test-case FilePath="basic">
112 <compilation-unit name="meta05">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000113 <output-dir compare="Text">meta05</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000114 </compilation-unit>
115 </test-case>
116 <test-case FilePath="basic">
117 <compilation-unit name="meta06">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000118 <output-dir compare="Text">meta06</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000119 </compilation-unit>
120 </test-case>
121 <test-case FilePath="basic">
122 <compilation-unit name="meta07">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000123 <output-dir compare="Text">meta07</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000124 </compilation-unit>
125 </test-case>
126 <test-case FilePath="basic">
127 <compilation-unit name="meta08">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000128 <output-dir compare="Text">meta08</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000129 </compilation-unit>
130 </test-case>
131 <test-case FilePath="basic">
132 <compilation-unit name="meta09">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000133 <output-dir compare="Text">meta09</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="meta10">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000138 <output-dir compare="Text">meta10</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="meta11">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000143 <output-dir compare="Text">meta11</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="meta12">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000148 <output-dir compare="Text">meta12</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="meta13">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000153 <output-dir compare="Text">meta13</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="meta14">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000158 <output-dir compare="Text">meta14</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="meta15">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000163 <output-dir compare="Text">meta15</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="meta16">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000168 <output-dir compare="Text">meta16</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="meta17">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000173 <output-dir compare="Text">meta17</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000174 </compilation-unit>
175 </test-case>
176 <test-case FilePath="basic">
salsubaieec449de92013-11-13 21:03:27 -0800177 <compilation-unit name="metadata_compaction_policy">
178 <output-dir compare="Text">metadata_compaction_policy</output-dir>
179 </compilation-unit>
180 </test-case>
181 <test-case FilePath="basic">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000182 <compilation-unit name="metadata_dataset">
183 <output-dir compare="Text">metadata_dataset</output-dir>
184 </compilation-unit>
185 </test-case>
186 <test-case FilePath="basic">
187 <compilation-unit name="metadata_dataverse">
188 <output-dir compare="Text">metadata_dataverse</output-dir>
189 </compilation-unit>
190 </test-case>
191 <test-case FilePath="basic">
192 <compilation-unit name="metadata_datatype">
193 <output-dir compare="Text">metadata_datatype</output-dir>
194 </compilation-unit>
195 </test-case>
196 <test-case FilePath="basic">
197 <compilation-unit name="metadata_index">
198 <output-dir compare="Text">metadata_index</output-dir>
199 </compilation-unit>
200 </test-case>
201 <test-case FilePath="basic">
202 <compilation-unit name="metadata_node">
203 <output-dir compare="Text">metadata_node</output-dir>
204 </compilation-unit>
205 </test-case>
206 <test-case FilePath="basic">
207 <compilation-unit name="metadata_nodegroup">
208 <output-dir compare="Text">metadata_nodegroup</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000209 </compilation-unit>
210 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000211 <test-case FilePath="basic">
212 <compilation-unit name="issue_251_dataset_hint_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000213 <output-dir compare="Text">issue_251_dataset_hint_2</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000214 </compilation-unit>
215 </test-case>
216 <test-case FilePath="basic">
217 <compilation-unit name="issue_251_dataset_hint_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000218 <output-dir compare="Text">issue_251_dataset_hint_3</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000219 </compilation-unit>
220 </test-case>
221 <test-case FilePath="basic">
222 <compilation-unit name="issue_251_dataset_hint_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000223 <output-dir compare="Text">issue_251_dataset_hint_4</output-dir>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000224 </compilation-unit>
225 </test-case>
JArodad6da692013-05-01 16:58:27 -0700226 <test-case FilePath="basic">
227 <compilation-unit name="issue_363_temporal_key_0">
228 <output-dir compare="Text">issue_363_temporal_key_0</output-dir>
229 </compilation-unit>
230 </test-case>
JArode3ba6322013-05-01 23:17:40 -0700231 <test-case FilePath="basic">
232 <compilation-unit name="issue_363_temporal_key_1">
233 <output-dir compare="Text">issue_363_temporal_key_1</output-dir>
234 </compilation-unit>
235 </test-case>
236 <test-case FilePath="basic">
237 <compilation-unit name="issue_363_temporal_key_2">
238 <output-dir compare="Text">issue_363_temporal_key_2</output-dir>
239 </compilation-unit>
240 </test-case>
241 <test-case FilePath="basic">
242 <compilation-unit name="issue_363_temporal_key_3">
243 <output-dir compare="Text">issue_363_temporal_key_3</output-dir>
244 </compilation-unit>
245 </test-case>
246 <test-case FilePath="basic">
247 <compilation-unit name="issue_363_temporal_key_4">
248 <output-dir compare="Text">issue_363_temporal_key_4</output-dir>
249 </compilation-unit>
250 </test-case>
JArodbec665e2013-05-26 13:52:27 -0700251 <test-case FilePath="basic">
252 <compilation-unit name="issue_363_temporal_sec_key_0">
253 <output-dir compare="Text">issue_363_temporal_sec_key_0</output-dir>
254 </compilation-unit>
255 </test-case>
256 <test-case FilePath="basic">
257 <compilation-unit name="issue_363_temporal_sec_key_1">
258 <output-dir compare="Text">issue_363_temporal_sec_key_1</output-dir>
259 </compilation-unit>
260 </test-case>
261 <test-case FilePath="basic">
262 <compilation-unit name="issue_363_temporal_sec_key_2">
263 <output-dir compare="Text">issue_363_temporal_sec_key_2</output-dir>
264 </compilation-unit>
265 </test-case>
266 <test-case FilePath="basic">
267 <compilation-unit name="issue_363_temporal_sec_key_3">
268 <output-dir compare="Text">issue_363_temporal_sec_key_3</output-dir>
269 </compilation-unit>
270 </test-case>
271 <test-case FilePath="basic">
272 <compilation-unit name="issue_363_temporal_sec_key_4">
273 <output-dir compare="Text">issue_363_temporal_sec_key_4</output-dir>
274 </compilation-unit>
275 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700276 <test-case FilePath="basic">
Taewoo Kim0c8e22d2016-02-16 12:29:02 -0800277 <compilation-unit name="metadata_selfjoin">
278 <output-dir compare="Text">metadata_selfjoin</output-dir>
279 </compilation-unit>
280 </test-case>
281 <test-case FilePath="basic">
buyingyiccd67fe2015-05-19 11:53:39 -0700282 <compilation-unit name="temp_dataset">
283 <output-dir compare="Text">temp_dataset</output-dir>
284 </compilation-unit>
285 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000286 </test-group>
287 <test-group name="exception">
288 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000289 <compilation-unit name="issue_239_drop_system_dataset_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000290 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800291 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000292 </compilation-unit>
293 </test-case>
294 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000295 <compilation-unit name="issue_239_drop_system_dataset_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000296 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800297 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000298 </compilation-unit>
299 </test-case>
300 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000301 <compilation-unit name="issue_239_drop_system_dataset_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000302 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800303 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000304 </compilation-unit>
305 </test-case>
306 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000307 <compilation-unit name="issue_239_drop_system_dataset_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000308 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800309 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000310 </compilation-unit>
311 </test-case>
312 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000313 <compilation-unit name="issue_239_drop_system_dataset_5">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000314 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800315 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000316 </compilation-unit>
317 </test-case>
318 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000319 <compilation-unit name="issue_239_drop_system_dataset_6">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000320 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800321 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000322 </compilation-unit>
323 </test-case>
324 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000325 <compilation-unit name="issue_239_drop_system_dataset_7">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000326 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800327 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
ramangrover29fbaba5f2013-01-26 02:36:29 +0000328 </compilation-unit>
329 </test-case>
330 <test-case FilePath="exception">
331 <compilation-unit name="issue_239_drop_system_dataset_8">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000332 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800333 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000334 </compilation-unit>
335 </test-case>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000336 <test-case FilePath="exception">
337 <compilation-unit name="issue_251_dataset_hint_error_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000338 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800339 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: TUPLE_SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000340 </compilation-unit>
341 </test-case>
342 <test-case FilePath="exception">
343 <compilation-unit name="issue_251_dataset_hint_error_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000344 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800345 <expected-error>SyntaxError: Invalid operation - Dataset: Book error in processing hint: SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000346 </compilation-unit>
347 </test-case>
salsubaieef9c57c92013-04-18 14:23:04 -0700348 <test-case FilePath="exception">
salsubaiee9f0569d2013-04-19 21:06:56 -0700349 <compilation-unit name="issue_272_create_index_error_1">
salsubaieef9c57c92013-04-18 14:23:04 -0700350 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700351 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaiee9f0569d2013-04-19 21:06:56 -0700352 </compilation-unit>
353 </test-case>
354 <test-case FilePath="exception">
355 <compilation-unit name="issue_272_create_index_error_2">
356 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700357 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaieef9c57c92013-04-18 14:23:04 -0700358 </compilation-unit>
359 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800360 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieeab851302013-04-22 16:01:01 -0700361 <test-case FilePath="exception">
salsubaieef5af2772013-04-22 13:34:33 -0700362 <compilation-unit name="issue_255_create_dataset_error_1">
363 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800364 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieef5af2772013-04-22 13:34:33 -0700365 </compilation-unit>
366 </test-case>
367 <test-case FilePath="exception">
368 <compilation-unit name="issue_255_create_dataset_error_2">
salsubaieed0d3aca2013-04-18 14:35:16 -0700369 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800370 <expected-error>SyntaxError: The partitioning key "[open-type]" cannot be of type RECORD.</expected-error>
salsubaieee7000452013-04-19 21:36:44 -0700371 </compilation-unit>
372 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800373 <!-- Feed datasets are not supported anymore
salsubaieee7000452013-04-19 21:36:44 -0700374 <test-case FilePath="exception">
375 <compilation-unit name="issue_255_create_feed_error">
376 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800377 <expected-error>org.json.JSONException: JSONObject["summary"] not found</expected-error>
salsubaieed0d3aca2013-04-18 14:35:16 -0700378 </compilation-unit>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800379 </test-case> -->
380 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieea0d53d92013-04-22 20:58:43 -0700381 <test-case FilePath="exception">
382 <compilation-unit name="issue_266_create_dataset_error_1">
383 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800384 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700385 </compilation-unit>
386 </test-case>
387 <test-case FilePath="exception">
388 <compilation-unit name="issue_266_create_dataset_error_2">
389 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800390 <expected-error>SyntaxError: The partitioning key "[id]" cannot be nullable</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700391 </compilation-unit>
392 </test-case>
salsubaieeded644d2013-04-23 16:20:48 -0700393 <test-case FilePath="exception">
394 <compilation-unit name="issue_384_create_index_error_1">
395 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800396 <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 -0700397 </compilation-unit>
398 </test-case>
399 <test-case FilePath="exception">
400 <compilation-unit name="issue_384_create_index_error_2">
401 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800402 <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 -0700403 </compilation-unit>
404 </test-case>
405 <test-case FilePath="exception">
406 <compilation-unit name="issue_384_create_index_error_3">
407 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800408 <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 -0700409 </compilation-unit>
410 </test-case>
411 <test-case FilePath="exception">
412 <compilation-unit name="issue_384_create_index_error_4">
413 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800414 <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 -0700415 </compilation-unit>
416 </test-case>
417 <test-case FilePath="exception">
418 <compilation-unit name="issue_384_create_index_error_5">
419 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800420 <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 -0700421 </compilation-unit>
422 </test-case>
423 <test-case FilePath="exception">
424 <compilation-unit name="issue_384_create_index_error_6">
425 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800426 <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 -0700427 </compilation-unit>
428 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000429 </test-group>
430 <test-group name="transaction">
431 <test-case FilePath="transaction">
432 <compilation-unit name="failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000433 <output-dir compare="Text">failure_previous_success</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800434 <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 +0000435 </compilation-unit>
436 <compilation-unit name="verify_failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000437 <output-dir compare="Text">verify_failure_previous_success</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000438 </compilation-unit>
439 </test-case>
440 <test-case FilePath="transaction">
441 <compilation-unit name="failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000442 <output-dir compare="Text">failure_subsequent_no_execution</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800443 <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 +0000444 </compilation-unit>
445 <compilation-unit name="verify_failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000446 <output-dir compare="Text">verify_failure_subsequent_no_execution</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000447 </compilation-unit>
448 </test-case>
449 </test-group>
Ildar Absalyamov04b2b772015-03-19 15:09:51 -0700450</test-suite>