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

[YSQL] Support SPLIT INTO clause for CREATE INDEX #3047

Closed
ndeodhar opened this issue Dec 2, 2019 · 0 comments
Closed

[YSQL] Support SPLIT INTO clause for CREATE INDEX #3047

ndeodhar opened this issue Dec 2, 2019 · 0 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) good first issue This is a good issue to start contributing!
Milestone

Comments

@ndeodhar
Copy link
Contributor

ndeodhar commented Dec 2, 2019

CREATE TABLE has a SPLIT INTO clause to support specifying the number of tablets that are created for the table. We also need to support this in CREATE INDEX statement.

@ndeodhar ndeodhar added help wanted We welcome your contributions for this issue! good first issue This is a good issue to start contributing! area/ysql Yugabyte SQL (YSQL) labels Dec 2, 2019
@ndeodhar ndeodhar added this to the v2.1 milestone Dec 2, 2019
@ndeodhar ndeodhar removed the help wanted We welcome your contributions for this issue! label May 19, 2020
vvkgopalan added a commit that referenced this issue Jun 3, 2020
Summary:
Extended the Postgres grammar to allow for SPLIT INTO # TABLETS in CREATE INDEX DDL
statments. Adding functionality for SPLIT AT is a WIP.

Test Plan:
Using yb-ctl performed CREATE INDEX ... SPLIT INTO # TABLETS. Confirmed using web UI.
Added to the TestPgRegressindex.java test:
```
./yb_build.sh release --java-test org.yb.pgsql.TestPgRegressIndex
```

Reviewers: neha, dmitry

Reviewed By: dmitry

Subscribers: yql

Differential Revision: https://phabricator.dev.yugabyte.com/D8583
@rkarthik007 rkarthik007 modified the milestones: v2.1, v2.2.x Jun 5, 2020
@ndeodhar ndeodhar closed this as completed Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) good first issue This is a good issue to start contributing!
Projects
None yet
Development

No branches or pull requests

3 participants