Skip to content

Partition by not supported - postgre #1281

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

Closed
danyatheslayer opened this issue May 21, 2024 · 0 comments · Fixed by #1338
Closed

Partition by not supported - postgre #1281

danyatheslayer opened this issue May 21, 2024 · 0 comments · Fixed by #1338

Comments

@danyatheslayer
Copy link

danyatheslayer commented May 21, 2024

Have this query:

CREATE TABLE measurement (
    city_id         int not null,
    logdate         date not null,
    peaktemp        int,
    unitsales       int
) PARTITION BY RANGE (logdate);

Got this error:
sql parser error: Expected end of statement, found: PARTITION at Line: 7, Column 7
Doc:
https://www.postgresql.org/docs/current/ddl-partitioning.html

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