title: Spark doesn't respect the case sensitivity of table
body: <p>I have a problem with case sensitivity in spark scala.
  I want to read from a postgres table which contains some character in (uppercase) but by default spark convert the name into lowercase and I receive the error</p>
  
  <blockquote>
    <p>org.postgresql.util.PSQLException: ERROR: relation "textlogs" does not exist</p>
  </blockquote>
  
  <pre class="lang-scala prettyprint-override"><code>val opts = Map(
    "url" -&gt; "jdbc:postgresql://localhost:5433/sparkdb",
    "dbtable" -&gt; "TextLogs",
    "user" -&gt; "admin",
    "password" -&gt; "mypassword"
  )
  val df = spark
             .read
             .format("jdbc")
             .options(opts)
             .load
  </code></pre>
  
  <p>Is there a way to force spark to respect the case sensitivity ?</p>