GitHub user rdblue reopened a pull request:
https://github.com/apache/spark/pull/21306
[SPARK-24252][SQL] Add DataSourceV2 mix-in for catalog support.
## What changes were proposed in this pull request?
This adds a mix-in to `DataSourceV2` that allows implementations to support
catalog operations: load table (for schema), create table, drop table, and
alter table.
This does not include the proposed transactional API.
## How was this patch tested?
Work in progress. This is for discussion right now.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rdblue/spark
SPARK-24252-add-datasource-v2-catalog
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21306.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21306
----
commit 915d72f8a3cf8df428ecdac25f30545d963ee5f7
Author: Ryan Blue <blue@...>
Date: 2018-05-05T01:13:01Z
SPARK-24252: Add v2 data source mix-in for catalog support.
commit fb55395a657588d1f87b13dbb1793d13991dc2b0
Author: Ryan Blue <blue@...>
Date: 2018-05-11T21:27:47Z
SPARK-24252: Add copyright headers.
commit 42ed4a4a138e5c5f681755d871fd9d9030a4619a
Author: Ryan Blue <blue@...>
Date: 2018-07-04T17:02:52Z
SPARK-24252: Update for review comments.
* Rename CatalogSupport to TableSupport
* Rename DataSourceCatalog to TableCatalog
* Remove name and database from Table
commit 023995d15b4293fac1530da6bd966b6ab6823980
Author: Ryan Blue <blue@...>
Date: 2018-07-04T17:19:45Z
SPARK-24252: Add TableChange example to Javadocs.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]