title: TIme bind parameter command error *influxql.StringLiteral are not compatible
body: <p>Can someone please point out what I am doing wrong in my command below which gives the error shown below?</p>
  
  <p>Command:</p>
  
  <pre><code>eCollection=( $(cut -d ',' -f2 new.txt ) )
  
  start=   date  --utc +%FT%T.%2NZ
  
  sleep 10
  
  end=  date --utc +%FT%T.%2NZ
  
  for i in "${eCollection[@]}"
  do
  
    var=$((var+1))
  
    if [[ $var -gt 1 ]] ; then
  
      curl -G 'http://localhost:8086/query?db=telegraf' --data-urlencode \ 
      'q=SELECT * FROM '$i' WHERE "time" &gt;= $timebegin AND "time" \
       &lt;= $timeend' --data-urlencode  \ 
      'params {"timebegin":"${start}","timeend":"${end}"}'
  
    fi
  
  done
  
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>{"results":[{"statement_id":0,"error":"invalid operation: time and *influxql.StringLiteral 
  are not compatible"}]}  
  </code></pre>