mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
Merge pull request #938 from basho/bugfix/bch/dont-allow-ts-field-comparison
Update the error message for ts_A_select_compare_two_fields_not_allowed
This commit is contained in:
commit
6bd7f17cda
@ -39,7 +39,6 @@ confirm() ->
|
||||
"AND myfamily = 'fa2mily1' "
|
||||
"AND myseries ='seriesX' "
|
||||
"AND weather = myseries",
|
||||
Expected = "Expect that fields cannot be compared",
|
||||
Got = ts_util:ts_query(ts_util:cluster_and_connect(single), normal, DDL, Data, Qry),
|
||||
?assertEqual(Expected, Got),
|
||||
{error, Got} = ts_util:ts_query(ts_util:cluster_and_connect(single), normal, DDL, Data, Qry),
|
||||
?assertNotEqual(0, string:str(binary_to_list(Got), "Comparing or otherwise operating on two fields is not supported")),
|
||||
pass.
|
||||
|
Loading…
Reference in New Issue
Block a user