Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/21379
  
    Sorry, I just realized this is a wrong direction. Instead of trusting the 
user inputs, we should verify the user-specified partition columns by using the 
already fetched table schema info `val tableSchema = 
JDBCRDD.resolveTable(jdbcOptions)` when building `JDBCRelation`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to