title: AWS Athena JDBC Query timeout
body: <p>I use Amazon Athena via JDBC. Recently I got </p>
  
  <pre><code>java.sql.SQLException: Query timeout
  </code></pre>
  
  <p>for several queries, but when I run</p>
  
  <pre><code>println(statement.getQueryTimeout)
  </code></pre>
  
  <p>I saw "0" that means that the query timeout is not set up.</p>
  
  <p>How can I solve the problem with timeout exception?</p>