You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"{\n\t\"RawQuery\": \"create index idx_a on A(a)\",\n\t\"Partitions\": [\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A0\",\n\t\t\t\"Backend\": \"backend0\",\n\t\t\t\"Range\": \"[0-2)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A2\",\n\t\t\t\"Backend\": \"backend2\",\n\t\t\t\"Range\": \"[2-4)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A4\",\n\t\t\t\"Backend\": \"backend4\",\n\t\t\t\"Range\": \"[4-8)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A8\",\n\t\t\t\"Backend\": \"backend8\",\n\t\t\t\"Range\": \"[8-4096)\"\n\t\t}\n\t]\n}",
27
+
"{\n\t\"RawQuery\": \"create index idx_a on A(a)\",\n\t\"Partitions\": [\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A0(`a`)\",\n\t\t\t\"Backend\": \"backend0\",\n\t\t\t\"Range\": \"[0-2)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A2(`a`)\",\n\t\t\t\"Backend\": \"backend2\",\n\t\t\t\"Range\": \"[2-4)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A4(`a`)\",\n\t\t\t\"Backend\": \"backend4\",\n\t\t\t\"Range\": \"[4-8)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_a on sbtest.A8(`a`)\",\n\t\t\t\"Backend\": \"backend8\",\n\t\t\t\"Range\": \"[8-4096)\"\n\t\t}\n\t]\n}",
28
28
"{\n\t\"RawQuery\": \"drop index idx_a on sbtest.A\",\n\t\"Partitions\": [\n\t\t{\n\t\t\t\"Query\": \"drop index idx_a on sbtest.A0\",\n\t\t\t\"Backend\": \"backend0\",\n\t\t\t\"Range\": \"[0-2)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"drop index idx_a on sbtest.A2\",\n\t\t\t\"Backend\": \"backend2\",\n\t\t\t\"Range\": \"[2-4)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"drop index idx_a on sbtest.A4\",\n\t\t\t\"Backend\": \"backend4\",\n\t\t\t\"Range\": \"[4-8)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"drop index idx_a on sbtest.A8\",\n\t\t\t\"Backend\": \"backend8\",\n\t\t\t\"Range\": \"[8-4096)\"\n\t\t}\n\t]\n}",
"{\n\t\"RawQuery\": \"create index idx_A_id on A(a)\",\n\t\"Partitions\": [\n\t\t{\n\t\t\t\"Query\": \"create index idx_A_id on sbtest.A0\",\n\t\t\t\"Backend\": \"backend0\",\n\t\t\t\"Range\": \"[0-2)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_A_id on sbtest.A2\",\n\t\t\t\"Backend\": \"backend2\",\n\t\t\t\"Range\": \"[2-4)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_A_id on sbtest.A4\",\n\t\t\t\"Backend\": \"backend4\",\n\t\t\t\"Range\": \"[4-8)\"\n\t\t},\n\t\t{\n\t\t\t\"Query\": \"create index idx_A_id on sbtest.A8\",\n\t\t\t\"Backend\": \"backend8\",\n\t\t\t\"Range\": \"[8-4096)\"\n\t\t}\n\t]\n}",
207
+
`{
208
+
"RawQuery": "create index idx_A_id on A(a)",
209
+
"Partitions": [
210
+
{
211
+
"Query": "create index idx_A_id on sbtest.A0(`+"`a`"+`)",
212
+
"Backend": "backend0",
213
+
"Range": "[0-2)"
214
+
},
215
+
{
216
+
"Query": "create index idx_A_id on sbtest.A2(`+"`a`"+`)",
217
+
"Backend": "backend2",
218
+
"Range": "[2-4)"
219
+
},
220
+
{
221
+
"Query": "create index idx_A_id on sbtest.A4(`+"`a`"+`)",
222
+
"Backend": "backend4",
223
+
"Range": "[4-8)"
224
+
},
225
+
{
226
+
"Query": "create index idx_A_id on sbtest.A8(`+"`a`"+`)",
227
+
"Backend": "backend8",
228
+
"Range": "[8-4096)"
229
+
}
230
+
]
231
+
}`,
232
+
`{
233
+
"RawQuery": "create fulltext index idx on A(a) with parser ngram lock=none algorithm=copy",
234
+
"Partitions": [
235
+
{
236
+
"Query": "create fulltext index idx on sbtest.A0(`+"`a`"+`) WITH PARSER ngram algorithm = copy lock = none",
237
+
"Backend": "backend0",
238
+
"Range": "[0-2)"
239
+
},
240
+
{
241
+
"Query": "create fulltext index idx on sbtest.A2(`+"`a`"+`) WITH PARSER ngram algorithm = copy lock = none",
242
+
"Backend": "backend2",
243
+
"Range": "[2-4)"
244
+
},
245
+
{
246
+
"Query": "create fulltext index idx on sbtest.A4(`+"`a`"+`) WITH PARSER ngram algorithm = copy lock = none",
247
+
"Backend": "backend4",
248
+
"Range": "[4-8)"
249
+
},
250
+
{
251
+
"Query": "create fulltext index idx on sbtest.A8(`+"`a`"+`) WITH PARSER ngram algorithm = copy lock = none",
252
+
"Backend": "backend8",
253
+
"Range": "[8-4096)"
254
+
}
255
+
]
256
+
}`,
257
+
`{
258
+
"RawQuery": "create index idx on A(a) using hash comment 'c' lock=shared",
259
+
"Partitions": [
260
+
{
261
+
"Query": "create index idx on sbtest.A0(`+"`a`"+`) using hash comment 'c' lock = shared",
262
+
"Backend": "backend0",
263
+
"Range": "[0-2)"
264
+
},
265
+
{
266
+
"Query": "create index idx on sbtest.A2(`+"`a`"+`) using hash comment 'c' lock = shared",
267
+
"Backend": "backend2",
268
+
"Range": "[2-4)"
269
+
},
270
+
{
271
+
"Query": "create index idx on sbtest.A4(`+"`a`"+`) using hash comment 'c' lock = shared",
272
+
"Backend": "backend4",
273
+
"Range": "[4-8)"
274
+
},
275
+
{
276
+
"Query": "create index idx on sbtest.A8(`+"`a`"+`) using hash comment 'c' lock = shared",
277
+
"Backend": "backend8",
278
+
"Range": "[8-4096)"
279
+
}
280
+
]
281
+
}`,
282
+
`{
283
+
"RawQuery": "create spatial index idx on A(gis) key_block_size=10 algorithm=default",
284
+
"Partitions": [
285
+
{
286
+
"Query": "create spatial index idx on sbtest.A0(`+"`gis`"+`) key_block_size = 10 algorithm = default",
287
+
"Backend": "backend0",
288
+
"Range": "[0-2)"
289
+
},
290
+
{
291
+
"Query": "create spatial index idx on sbtest.A2(`+"`gis`"+`) key_block_size = 10 algorithm = default",
292
+
"Backend": "backend2",
293
+
"Range": "[2-4)"
294
+
},
295
+
{
296
+
"Query": "create spatial index idx on sbtest.A4(`+"`gis`"+`) key_block_size = 10 algorithm = default",
297
+
"Backend": "backend4",
298
+
"Range": "[4-8)"
299
+
},
300
+
{
301
+
"Query": "create spatial index idx on sbtest.A8(`+"`gis`"+`) key_block_size = 10 algorithm = default",
302
+
"Backend": "backend8",
303
+
"Range": "[8-4096)"
304
+
}
305
+
]
306
+
}`,
208
307
}
209
308
210
309
querys:= []string{
310
+
// issue 10.
211
311
"create index idx_A_id on A(a)",
312
+
// issue 592.
313
+
"create fulltext index idx on A(a) with parser ngram lock=none algorithm=copy",
314
+
"create index idx on A(a) using hash comment 'c' lock=shared",
315
+
"create spatial index idx on A(gis) key_block_size=10 algorithm=default",
0 commit comments