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

Creating indexes in the indexes section of a model config #191

Closed
wants to merge 9 commits into from

Conversation

semcha
Copy link
Contributor

@semcha semcha commented Dec 18, 2021

Implementation of #163

  • clustered / nonclustered indexes
  • row-store (b-tree) / columnstore indexes
  • uniqueness (UNIQUE) for row-store indexes (clustered and nonclustered)
  • nonclustered row-store index may have included columns: INCLUDE (col1, col2)
  • data compression: ROW / PAGE compression for row-store and COLUMNSTORE / COLUMNSTORE_ARCHIVE for columnstore
  • partitioning (partition schema name and partition column)

@semcha
Copy link
Contributor Author

semcha commented Dec 19, 2021

Hi @swanderz! It takes 4-5 days to test, but I'm ready to accept suggestions/edits 🚀

@NicolasPA
Copy link

Am I correct to think that this PR introduces the possibility to create a unique non-clustered index, which wasn't possible before?

This would be very useful for us!

@semcha
Copy link
Contributor Author

semcha commented Jan 3, 2022

@NicolasPA Yep, of course:

indexes=[
    {'type': 'nonclustered', 'columns': ['customer_id'], 'unique': True}
]

@semcha semcha changed the title Creating indexes in indexes section of model config Creating indexes in the indexes section of a model config Jan 3, 2022
@sdebruyn sdebruyn added chore enhancement New feature or request needs-rebase labels May 22, 2022
@sdebruyn
Copy link
Member

Should be rebased on latest master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants