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

Indexes on DATE columns should specify RANGE (ASC/DESC) when target database is YugabyteDB #1381

Open
ssherwood opened this issue Mar 25, 2024 · 0 comments
Labels
triage Needs to be triaged

Comments

@ssherwood
Copy link

YugabyteDB defaults the first column in an index to HASH. This is inappropriate for most scenarios where this column is a type of DATE/DATETIME.

When the database target is YugabyteDB, any idexes that start with a date column should specify ASC or DESC to override the HASH default.

@github-actions github-actions bot added the triage Needs to be triaged label Mar 25, 2024
@ssherwood ssherwood changed the title Indexes on DATE columns should specifc RANGE (ASC/DESC) when target database is YugabyteDB Indexes on DATE columns should specify RANGE (ASC/DESC) when target database is YugabyteDB Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant