title: Cassandra - SyntaxException: line ... no viable alternative at input in select statement
body: <p>I am trying to select data from cassandra db using below query but it is failing-</p>
  
  <pre><code>SELECT id from keyspace.table where code=123 and toTimestamp(now()) &gt;= some_date;
  
  Error- SyntaxException: line 1:103 no viable alternative at input '(' (...table where code=123 and [toTimestamp](...)
  </code></pre>
  
  <p>Looks like toTimestamp(now()) is causing the issue.
  Can someone plz suggest what is the issue and solution to this?
  Thanks.</p>