Comments (3)
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.
from go-mysql-server.
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 nowDatabase
interface does not have anything for that, onlyAlterable
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.
from go-mysql-server.
Moved to backlog again, it's not a priority right now, WIP is here
from go-mysql-server.
Related Issues (20)
- LIKE fails when new lines are present HOT 4
- Failing test for connection handler in Linux HOT 1
- Compile error: parse.go:248:77: undefined sqlparser.SCHEMAS HOT 7
- Races detected on running gitbase during the test
- Returned types do not fit the schema HOT 2
- upgrade vitess to latest version HOT 1
- Fix node integration tests
- show create table returns incorrect type for varchar
- 2 integration tests are not included in travis
- information_schema.columns data_type has uppercase values HOT 1
- Root opentracing span is not finished
- Async index creation is not working
- Support multiple EXPLODE calls in same SELECT
- Not enough arguments in call to mysql.NewAuthServerStatic HOT 2
- Type not supported: VARBINARY HOT 1
- how do i resolve this?
- adding stored procedure support
- Document major limitations HOT 2
- Archive src-d/go-mysql-server in favor of liquidata-inc/go-mysql-server HOT 7
- ERROR 1105 (HY000) at line 1: unknown error: expecting "EOF" but got 'V' instead HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mysql-server.