title: Impala - how to set a variable in a query?
body: <p>How can I set a variable in an Impala query?</p>
  
  <p>In SQL:</p>
  
  <pre><code>select * from users where id=(@id:=123)
  </code></pre>
  
  <p>In Impala:</p>
  
  <pre><code>impala-shell&gt; ?
  </code></pre>
  
  <p>Impala version is v2.0.0. Any suggestions will be appreciated. Thanks! </p>