title: Type mismatch. VARCHAR and TIMESTAMP with Pheonix
body: <p>Getting Error: </p>
  
  <pre><code>ERROR 203 (22005): Type mismatch. VARCHAR and TIMESTAMP for '2017-08-30 06:21:46.732'
  SQLState:  22005
  ErrorCode: 203
  </code></pre>
  
  <p>while executing the below query in SQuirrel SQL Client with apache.pheonix</p>
  
  <pre><code>select * from USER_T where USR_CRT=cast('2017-08-30 06:21:46.732' AS timestamp)
  </code></pre>
  
  <p>and USR_CRT type is TIMESTAMP</p>