2015-09-24 10:17:49 +00:00
|
|
|
-module(ts_A_select_fail_2).
|
|
|
|
|
|
|
|
-behavior(riak_test).
|
|
|
|
|
2015-10-05 10:09:53 +00:00
|
|
|
-export([confirm/0]).
|
2015-09-24 10:17:49 +00:00
|
|
|
|
|
|
|
confirm() ->
|
2015-10-05 10:09:53 +00:00
|
|
|
Cluster = single,
|
|
|
|
TestType = normal,
|
|
|
|
DDL = timeseries_util:get_ddl(docs),
|
|
|
|
Data = timeseries_util:get_valid_select_data(),
|
|
|
|
% FIXME we get a badmatch from riak_ql_parser
|
|
|
|
Qry =
|
|
|
|
"selectah * from GeoCheckin "
|
|
|
|
"Where time > 1 and time < 10",
|
2015-09-24 10:17:49 +00:00
|
|
|
Expected = "some error message, fix me",
|
2015-10-05 10:09:53 +00:00
|
|
|
timeseries_util:confirm_select(
|
|
|
|
Cluster, TestType, DDL, Data, Qry, Expected).
|