[
https://issues.apache.org/jira/browse/SPARK-23398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Blue updated SPARK-23398:
------------------------------
Summary: DataSourceV2 should provide a way to get a source's schema. (was:
DataSourceV2 should provide a way to get the source schema)
> DataSourceV2 should provide a way to get a source's 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]