aboutsummaryrefslogtreecommitdiff
path: root/assembly/pom.xml
diff options
context:
space:
mode:
authorhyukjinkwon <gurwls223@gmail.com>2017-01-11 21:03:48 -0800
committergatorsmile <gatorsmile@gmail.com>2017-01-11 21:03:48 -0800
commit24100f162dadb80400cb3e0bc94e4282f10f0c84 (patch)
tree3617b0da24f1f87a00944f7eb4b627278425d98b /assembly/pom.xml
parent43fa21b3e62ee108bcecb74398f431f08c6b625c (diff)
downloadspark-24100f162dadb80400cb3e0bc94e4282f10f0c84.tar.gz
spark-24100f162dadb80400cb3e0bc94e4282f10f0c84.tar.bz2
spark-24100f162dadb80400cb3e0bc94e4282f10f0c84.zip
[SPARK-16848][SQL] Check schema validation for user-specified schema in jdbc and table APIs
## What changes were proposed in this pull request? This PR proposes to throw an exception for both jdbc APIs when user specified schemas are not allowed or useless. **DataFrameReader.jdbc(...)** ``` scala spark.read.schema(StructType(Nil)).jdbc(...) ``` **DataFrameReader.table(...)** ```scala spark.read.schema(StructType(Nil)).table("usrdb.test") ``` ## How was this patch tested? Unit test in `JDBCSuite` and `DataFrameReaderWriterSuite`. Author: hyukjinkwon <gurwls223@gmail.com> Closes #14451 from HyukjinKwon/SPARK-16848.
Diffstat (limited to 'assembly/pom.xml')
0 files changed, 0 insertions, 0 deletions