-
Notifications
You must be signed in to change notification settings - Fork 27
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
Simplify query used by CDBAdapterPostgreSQL::getFilesAndIndicesForDimensions
#341
Comments
👍 |
For reference, I'm currently hitting the I think the proposed query would help in my case, since it would only limit the amount of output files. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The function
CDBAdapterPostgreSQL::getFilesAndIndicesForDimensions()
constructs a query of the form:A simpler from that does (roughly?) the same is:
This should give the same result, except for the limit. In the original query it is on the first dimension (which is incorrect, it should be on time). In the second query, it limits the total amount of files returned to 512.
This new query should of course be tested to make sure it give equivalent results.
The text was updated successfully, but these errors were encountered: