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

Make cloud realm compatible with ONLY_FULL_GROUP_BY #1480

Merged
merged 5 commits into from
Feb 24, 2021

Conversation

eiffel777
Copy link
Contributor

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:

  • The pull request description is suitable for a Changelog entry
  • The milestone is set correctly on the pull request
  • The appropriate labels have been added to the pull request

@eiffel777 eiffel777 added bug Bugfixes Category:Cloud Cloud Realm labels Jan 7, 2021
@eiffel777 eiffel777 added this to the 9.5.0 milestone Jan 7, 2021
@eiffel777 eiffel777 self-assigned this Jan 7, 2021
@eiffel777
Copy link
Contributor Author

@jpwhite4 @ryanrath This is updated and ready to be reviewed

@@ -0,0 +1,33 @@
<?php
namespace OpenXdmod\Migration\Version851To900;
Copy link
Member

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.

Copy link
Contributor

@ryanrath ryanrath left a 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.

@eiffel777 eiffel777 merged commit 8708fab into ubccr:xdmod9.5 Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Cloud Cloud Realm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants