-
Notifications
You must be signed in to change notification settings - Fork 68
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
Make cloud realm compatible with ONLY_FULL_GROUP_BY #1480
Make cloud realm compatible with ONLY_FULL_GROUP_BY #1480
Conversation
configuration/etl/etl_action_defs.d/cloud_common/cloud_resource_specs_aggregation.json
Show resolved
Hide resolved
@@ -0,0 +1,33 @@ | |||
<?php | |||
namespace OpenXdmod\Migration\Version851To900; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong namespace - also this change conflicts with the other cloud resources pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll admit this is nit-picky but I'd prefer to have the use
statements that aren't being used removed. Which I believe would just leave the CCR\DB
and ETL\Utilities
statements. Other then that, looks good.
This changes makes changes so the cloud realm is compatible with MySQL when ONLY_FULL_GROUP_BY mode is enabled.
For the cloud aggregation the entails adding columns to the group by for the aggregation query. For the cloud resource specifications aggregation it revealed a bug when summing the core time for a time period because of a misplaced parenthesis. Re-aggregation of the cloud resource specifications is necessary because of this.
Checklist: