blob: 0b8c26a60ccf82ba321b5859fe04f806c49e2627 [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">
277 <compilation-unit name="temp_dataset">
278 <output-dir compare="Text">temp_dataset</output-dir>
279 </compilation-unit>
280 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000281 </test-group>
282 <test-group name="exception">
283 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000284 <compilation-unit name="issue_239_drop_system_dataset_1">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000285 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800286 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000287 </compilation-unit>
288 </test-case>
289 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000290 <compilation-unit name="issue_239_drop_system_dataset_2">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000291 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800292 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000293 </compilation-unit>
294 </test-case>
295 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000296 <compilation-unit name="issue_239_drop_system_dataset_3">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000297 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800298 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000299 </compilation-unit>
300 </test-case>
301 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000302 <compilation-unit name="issue_239_drop_system_dataset_4">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000303 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800304 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000305 </compilation-unit>
306 </test-case>
307 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000308 <compilation-unit name="issue_239_drop_system_dataset_5">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000309 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800310 <expected-error>SyntaxError: Invalid operation - Cannot drop a dataset belonging to the dataverse:Metadata</expected-error>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000311 </compilation-unit>
312 </test-case>
313 <test-case FilePath="exception">
ramangrover29fbaba5f2013-01-26 02:36:29 +0000314 <compilation-unit name="issue_239_drop_system_dataset_6">
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_7">
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>
ramangrover29fbaba5f2013-01-26 02:36:29 +0000323 </compilation-unit>
324 </test-case>
325 <test-case FilePath="exception">
326 <compilation-unit name="issue_239_drop_system_dataset_8">
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>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000331 <test-case FilePath="exception">
332 <compilation-unit name="issue_251_dataset_hint_error_1">
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 - Dataset: Book error in processing hint: TUPLE_SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000335 </compilation-unit>
336 </test-case>
337 <test-case FilePath="exception">
338 <compilation-unit name="issue_251_dataset_hint_error_2">
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 - Dataset: Book error in processing hint: SIZE Unknown hint</expected-error>
ramangrover2971e5c6a2013-01-30 05:30:12 +0000341 </compilation-unit>
342 </test-case>
salsubaieef9c57c92013-04-18 14:23:04 -0700343 <test-case FilePath="exception">
salsubaiee9f0569d2013-04-19 21:06:56 -0700344 <compilation-unit name="issue_272_create_index_error_1">
salsubaieef9c57c92013-04-18 14:23:04 -0700345 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700346 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaiee9f0569d2013-04-19 21:06:56 -0700347 </compilation-unit>
348 </test-case>
349 <test-case FilePath="exception">
350 <compilation-unit name="issue_272_create_index_error_2">
351 <output-dir compare="Text">none</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700352 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
salsubaieef9c57c92013-04-18 14:23:04 -0700353 </compilation-unit>
354 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800355 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieeab851302013-04-22 16:01:01 -0700356 <test-case FilePath="exception">
salsubaieef5af2772013-04-22 13:34:33 -0700357 <compilation-unit name="issue_255_create_dataset_error_1">
358 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800359 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieef5af2772013-04-22 13:34:33 -0700360 </compilation-unit>
361 </test-case>
362 <test-case FilePath="exception">
363 <compilation-unit name="issue_255_create_dataset_error_2">
salsubaieed0d3aca2013-04-18 14:35:16 -0700364 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800365 <expected-error>SyntaxError: The partitioning key "[open-type]" cannot be of type RECORD.</expected-error>
salsubaieee7000452013-04-19 21:36:44 -0700366 </compilation-unit>
367 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800368 <!-- Feed datasets are not supported anymore
salsubaieee7000452013-04-19 21:36:44 -0700369 <test-case FilePath="exception">
370 <compilation-unit name="issue_255_create_feed_error">
371 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800372 <expected-error>org.json.JSONException: JSONObject["summary"] not found</expected-error>
salsubaieed0d3aca2013-04-18 14:35:16 -0700373 </compilation-unit>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800374 </test-case> -->
375 <!-- This case should be fixed to return a proper message rather than NPE -->
salsubaieea0d53d92013-04-22 20:58:43 -0700376 <test-case FilePath="exception">
377 <compilation-unit name="issue_266_create_dataset_error_1">
378 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800379 <expected-error>java.lang.NullPointerException</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700380 </compilation-unit>
381 </test-case>
382 <test-case FilePath="exception">
383 <compilation-unit name="issue_266_create_dataset_error_2">
384 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800385 <expected-error>SyntaxError: The partitioning key "[id]" cannot be nullable</expected-error>
salsubaieea0d53d92013-04-22 20:58:43 -0700386 </compilation-unit>
387 </test-case>
salsubaieeded644d2013-04-23 16:20:48 -0700388 <test-case FilePath="exception">
389 <compilation-unit name="issue_384_create_index_error_1">
390 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800391 <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 -0700392 </compilation-unit>
393 </test-case>
394 <test-case FilePath="exception">
395 <compilation-unit name="issue_384_create_index_error_2">
396 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800397 <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 -0700398 </compilation-unit>
399 </test-case>
400 <test-case FilePath="exception">
401 <compilation-unit name="issue_384_create_index_error_3">
402 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800403 <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 -0700404 </compilation-unit>
405 </test-case>
406 <test-case FilePath="exception">
407 <compilation-unit name="issue_384_create_index_error_4">
408 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800409 <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 -0700410 </compilation-unit>
411 </test-case>
412 <test-case FilePath="exception">
413 <compilation-unit name="issue_384_create_index_error_5">
414 <output-dir compare="Text">none</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800415 <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 -0700416 </compilation-unit>
417 </test-case>
418 <test-case FilePath="exception">
419 <compilation-unit name="issue_384_create_index_error_6">
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 Length Partitioned N-Gram index.</expected-error>
salsubaieeded644d2013-04-23 16:20:48 -0700422 </compilation-unit>
423 </test-case>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000424 </test-group>
425 <test-group name="transaction">
426 <test-case FilePath="transaction">
427 <compilation-unit name="failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000428 <output-dir compare="Text">failure_previous_success</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800429 <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 +0000430 </compilation-unit>
431 <compilation-unit name="verify_failure_previous_success">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000432 <output-dir compare="Text">verify_failure_previous_success</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000433 </compilation-unit>
434 </test-case>
435 <test-case FilePath="transaction">
436 <compilation-unit name="failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000437 <output-dir compare="Text">failure_subsequent_no_execution</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800438 <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 +0000439 </compilation-unit>
440 <compilation-unit name="verify_failure_subsequent_no_execution">
khfaraaz82@gmail.com74fa5522013-03-29 18:39:03 +0000441 <output-dir compare="Text">verify_failure_subsequent_no_execution</output-dir>
RamanGrover29@gmail.com146d4632012-11-26 08:14:29 +0000442 </compilation-unit>
443 </test-case>
444 </test-group>
Ildar Absalyamov04b2b772015-03-19 15:09:51 -0700445</test-suite>