Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Add VIEWS support #53

Open
ajnavarro opened this issue Feb 26, 2018 · 3 comments
Open

Add VIEWS support #53

ajnavarro opened this issue Feb 26, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ajnavarro
Copy link
Contributor

No description provided.

@ajnavarro ajnavarro added the enhancement New feature or request label Feb 26, 2018
@erizocosmico
Copy link
Contributor

erizocosmico commented Apr 17, 2018

A few questions:

  • Do we want view to be persistent across database runs?
  • Should views show in show tables?
  • Should we modify the Database interface so that all MUST be able to create views? Right now Database interface does not have anything for that, only Alterable interface, but that does not work for views. Another option that would not require changing database interface would be to globally register views in the catalog, but when we implement database qualification that would need to change, so I think the other approach does not require much more work and is more future-proof.

@erizocosmico erizocosmico self-assigned this Apr 17, 2018
@erizocosmico
Copy link
Contributor

erizocosmico commented Apr 17, 2018

Moved to backlog again, it's not a priority right now, WIP is here

@smola
Copy link
Collaborator

smola commented Apr 17, 2018

@erizocosmico

Do we want view to be persistent across database runs?

Ideally yes. But maybe it is ok to have a first iteration without persistence.

Should views show in show tables?

I would say that we should try to match MySQL behaviour here. And it seems it is possible to use SHOW TABLES to show vews. I'm not sure about syntax details though.

Should we modify the Database interface so that all MUST be able to create views?

Views should probably use a global registry, since they could span multiple databases.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants