title: Function min(uuid) does not exist in postgresql
body: <p>I have imported tables from Postgres to hdfs by using sqoop. My table have uuid field as primary key and my command sqoop as below:</p>
  
  <pre class="lang-none prettyprint-override"><code>sqoop import --connect 'jdbc:postgresql://localhost:5432/mydb' --username postgreuser --password 123456abcA --driver org.postgresql.Driver --table users --map-column-java id=String --target-dir /hdfs/postgre/users --as-avrodatafile --compress -m 2
  </code></pre>
  
  <p>But I got the error:</p>
  
  <pre><code>Import failed: java.io.IOException: org.postgresql.util.PSQLException: ERROR: function min(uuid) does not exist
  </code></pre>
  
  <p>I tried executed the sql command: <code>SELECT min(id) from users</code> and got the same error. How could I fix it ? I use Postgres 9.4, hadoop 2.9.0 and sqoop 1.4.7</p>