title: What is the difference between Statement.setMaxRows vs Statement.setFetchsize in Hive
body: <p>I am running queries against Hive. The same queries are supposed to work with other JDBC drivers, meaning, other relational databases.</p>
  
  <p>I can't use the method Statement.setFetchSize, because it is not supported in the Hive JDBC 0.13.0. </p>
  
  <p>I am trying to work this around, therefore, I came to another similar method: <strong>Statement.setMaxRows</strong></p>
  
  <p>In which cases should I use Statement.setMaxRows vs Statement.setFetchsize?</p>
  
  <p>Is it possible to use them interchangeably?</p>
  
  <p>Thanks.</p>