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

[0.12] CREATE DATABASE WITH SHARD DURATION yields unexpected error #6152

Closed
rkuchan opened this issue Mar 29, 2016 · 0 comments
Closed

[0.12] CREATE DATABASE WITH SHARD DURATION yields unexpected error #6152

rkuchan opened this issue Mar 29, 2016 · 0 comments
Assignees
Milestone

Comments

@rkuchan
Copy link
Contributor

rkuchan commented Mar 29, 2016

When I create a new database with a new retention policy and only include SHARD DURATION, I get an unexpected error. I must include either DURATION or REPLICATION to prevent the error.

> CREATE DATABASE testdb4 WITH SHARD DURATION 30m
ERR: error parsing query: found SHARD, expected DURATION, REPLICATION, SHARD, NAME at line 1, char 30

The queries below did not return errors, so I expected the query above to work:

> CREATE DATABASE testdb1 WITH DURATION 1d
> CREATE DATABASE testdb2 WITH REPLICATION 1
> CREATE DATABASE testdb3 WITH NAME lalala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants