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

Prohibit non-IMMUTABLE functions in multi-shard SELECT queries #60

Open
jasonmp85 opened this issue Jan 22, 2015 · 1 comment
Open

Prohibit non-IMMUTABLE functions in multi-shard SELECT queries #60

jasonmp85 opened this issue Jan 22, 2015 · 1 comment
Labels
Milestone

Comments

@jasonmp85
Copy link
Collaborator

Though all (non-side-effecting) functions are safe to execute in a single-shard SELECT query, the same is not true for multi-shard SELECTs. In particular, a function such as random() or now() would return a different value for each shard and so the query results would not represent a consistent view of the world.

This may overlap somewhat with #47, but that issue is more concerned with single-shard ramifications. We've noticed this bug affects multi-shard queries as well, so they'll need similar treatment.

@jasonmp85
Copy link
Collaborator Author

Closes #85.

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

No branches or pull requests

1 participant