Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CREATE TABLE ... AS SELECT ... is broken #3223

Open
kyukhin opened this issue Mar 7, 2018 · 0 comments
Open

CREATE TABLE ... AS SELECT ... is broken #3223

kyukhin opened this issue Mar 7, 2018 · 0 comments
Labels
feature A new functionality sql
Milestone

Comments

@kyukhin
Copy link
Contributor

kyukhin commented Mar 7, 2018

Legacy SQL allowed to use mentioned statement for rowid tables only.

Right now there's no more rowid and this statement is not working at all.

Reproduce

tarantool> create table t (id integer primary key);
tarantool> create table tt as select * from t;
---
- error: PRIMARY KEY missing on table TT
...
@kyukhin kyukhin added bug Something isn't working sql good first issue Good for newcomers labels Mar 7, 2018
@kyukhin kyukhin added this to the 2.1.1 milestone Mar 7, 2018
@kyukhin kyukhin removed the good first issue Good for newcomers label Mar 7, 2018
@kyukhin kyukhin added feature A new functionality and removed bug Something isn't working labels Jan 15, 2019
@kyukhin kyukhin modified the milestones: 2.1.1, 2.2.0 Jan 15, 2019
Korablev77 added a commit that referenced this issue Mar 26, 2019
This statement is completely broken and to be re-implemented in
scope of #3223 issue. Current patch removes remains of this feature.
Korablev77 added a commit that referenced this issue Mar 27, 2019
This statement is completely broken and to be re-implemented in
scope of #3223 issue. Current patch removes remains of this feature.
kyukhin pushed a commit that referenced this issue Apr 2, 2019
This statement is completely broken and to be re-implemented in
scope of #3223 issue. Current patch removes remains of this feature.
kyukhin pushed a commit that referenced this issue Apr 2, 2019
This statement is completely broken and to be re-implemented in
scope of #3223 issue. Current patch removes remains of this feature.

(cherry picked from commit 512aa15)
@kyukhin kyukhin modified the milestones: 2.2.0, 2.3.0 Jun 6, 2019
@kyukhin kyukhin modified the milestones: 2.3.1, 2.4.0 Aug 6, 2019
@kyukhin kyukhin modified the milestones: 2.4.1, 2.5.1 Feb 12, 2020
@kyukhin kyukhin modified the milestones: 2.5.1, 2.6.1 Apr 10, 2020
@kyukhin kyukhin modified the milestones: 2.6.1, wishlist Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality sql
Projects
None yet
Development

No branches or pull requests

1 participant