riak-ts

@ is not supporting to RIak Ts


while making query to Riak TS, my email contaning @ symbol so it giving some problem like

SQL Lexer error <<"Unexpected token '@'.">>

then How we Resolve this problem.


Solution

  • Use below query.

    SELECT SUM(steps),
           registrationDate
    FROM steps
    WHERE
      START >= 1482085800000
      AND
      START <= 1489775400000
      AND userName = <<"hussain.shahzad250@gmail.com">>;