[ https://issues.apache.org/jira/browse/SPARK-16848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-16848. ----------------------------- Resolution: Fixed Assignee: Hyukjin Kwon Fix Version/s: 2.2.0 > Check schema validation for user-specified schema in jdbc and table APIs > ------------------------------------------------------------------------ > > Key: SPARK-16848 > URL: https://issues.apache.org/jira/browse/SPARK-16848 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.0.0 > Reporter: Hyukjin Kwon > Assignee: Hyukjin Kwon > Priority: Trivial > Fix For: 2.2.0 > > > Currently, > Both APIs below: > {code} > spark.read.schema(StructType(Nil)).jdbc(...) > {code} > and > {code} > spark.read.schema(StructType(Nil)).table("usrdb.test") > {code} > ignore schemas. > It'd make sense to throw an exception rather than causing confusion to users. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org