Hi
I am trying to run below query against Cassandra table using datastax python cassandra connector. I am getting "no viable alternative at input 'TOKEN (...ECT TOKEN...)" error. Is there anything wrong in the query? Please help me as i am new to Cassandra.
statement = SimpleStatement("SELECT TOKEN(doc_id), doc_id FROM <ks>.<tablename> WHERE TOKEN(doc_id)>-8939575974182321168 AND TOKEN(doc_id)<8655779911509866528", fetch_size=30) rows = session.execute(statement)