GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/14116
[SPARK-16452][SQL][WIP] Basic INFORMATION_SCHEMA support
## What changes were proposed in this pull request?
This PR supports `INFORMATION_SCHEMA` in Spark Catalog. Please refer the
[design
document](https://issues.apache.org/jira/secure/attachment/12816915/INFORMATION_SCHEMAsupport.pdf).
```
scala> spark.catalog
scala> sql("show databases").collect()
res1: Array[org.apache.spark.sql.Row] = Array([default],
[information_schema])
```
Although there are several working items in this PR, other PRs like
`support column listing for temporary table` are related to this, too.
- [O] DATABASE / TABLE POPULATION
- [O] SUPPORT FULL SCAN
- [O] SUPPORT PROJECTION PUSH-DOWN
- [X] SUPPORT FILTER PUSHDOWN
- ...
## How was this patch tested?
Pass the Jenkins tests including a new testsuite.
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-16452
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14116.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 #14116
----
commit cbdd6413419cb7dcedef5414c65a268cd6124ddb
Author: Dongjoon Hyun <[email protected]>
Date: 2016-07-09T12:54:30Z
[SPARK-16452][SQL] Basic INFORMATION_SCHEMA support
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]