title: Numeric value error for small select query in snowflake
body: <pre><code>select to_varchar(nvl(cdi_source,'')) as  cd 
  from customer_address 
  WHERE best_address_ind = 1;
  </code></pre>
  
  <p>getting error like </p>
  
  <p><code>Numeric value 'posp' is not recognized.</code></p>
  
  <p><code>cdi_source</code> field has data like this </p>
  
  <pre><code>12    KSRELP
   2    NMCAPT
   3    2018-11-12 00:00:00
   4    2019-03-15 0
  </code></pre>