You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2018/02/12 18:16:00 UTC
[jira] [Created] (SPARK-23398) DataSourceV2 should provide a way to
get the source schema
Ryan Blue created SPARK-23398:
---------------------------------
Summary: DataSourceV2 should provide a way to get the source schema
Key: SPARK-23398
URL: https://issues.apache.org/jira/browse/SPARK-23398
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 2.3.0
Reporter: Ryan Blue
To validate writes with DataSourceV2, the planner needs to get a source's schema. The current API has no direct way to get that schema. SPARK-23321 instantiates a reader to get the schema, but sources are not required to implement {{ReadSupport}} or {{ReadSupportWithSchema}}. V2 should either add a method to get the schema of a source, or require sources implement {{ReadSupport}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org