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

Support CREATE TABLE inline index specifications #9243

Closed
knutwannheden opened this issue Sep 18, 2019 · 2 comments
Closed

Support CREATE TABLE inline index specifications #9243

knutwannheden opened this issue Sep 18, 2019 · 2 comments

Comments

@knutwannheden
Copy link
Contributor

Some dialects support specifying indexes inline in the CREATE TABLE statement. This is currently supported by the parser, but not by the DSL API nor by DSLContext#ddl(), AFAICT.

@lukaseder
Copy link
Member

not by the DSL API

We have CreateTableIndexStep. What's missing is a way to create complete Index types (including column specifications), regardless if they're being used with CREATE TABLE or elsewhere.

I was sure we already had an issue for that, but I cannot seem to find it.

nor by DSLContext#ddl(), AFAICT

Is this really needed, separately? I personally prefer if DSLContext#ddl() (now moved to Meta#ddl()) produced separate CREATE INDEX statements, rather than the inline index specification syntax from MySQL.

@lukaseder
Copy link
Member

The issue requesting Index type construction DSL is here: #13011

This issue here doesn't request anything that's not yet possible, otherwise. Closing this as a duplicate of #13011

3.13 DDL interpretation automation moved this from To do to Done Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants