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

fixes bug 974726 - implement correlations using postgres #1908

Merged

Conversation

rhelmer
Copy link
Contributor

@rhelmer rhelmer commented Feb 22, 2014

No description provided.

@rhelmer
Copy link
Contributor Author

rhelmer commented Feb 22, 2014

The existing tables were actually pretty close to what we need - had to make various adjustments. The SPs not so much.

@rhelmer
Copy link
Contributor Author

rhelmer commented Mar 3, 2014

@selenamarie so I think this is ready to go in - the only thing is that the correlations crontabber job is still part of the set of matviews, so we need to do some extra work if you want that split out. I would like to see how fast it is in practice and see if we can optimize it rather than splitting it out though, what do you think?

@selenamarie
Copy link
Contributor

@rhelmer that's fair! I'm happy to let it run and see. Seems fast enough for sure currently.

@@ -258,47 +258,46 @@ class Tcbs(DeclarativeBase):
)


class CorrelationAddon(DeclarativeBase):
class CorrelationAddons(DeclarativeBase):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So -- the convention I've always heard was using singular for the Object and plural for the table...

@selenamarie
Copy link
Contributor

We also need a migration.

@rhelmer
Copy link
Contributor Author

rhelmer commented Mar 13, 2014

@selenamarie - got requested changes done, and rebased against latest alembic and fakedata changes.

Can we get this in as-is and tackle running it with a separate crontabber as a separate bug? As-is this will establish the update/backfill functions but they will not be run.

@selenamarie
Copy link
Contributor

Agree re: separate crontabber :)

@selenamarie
Copy link
Contributor

r+

rhelmer added a commit that referenced this pull request Mar 13, 2014
…stgres

fixes bug 974726 - implement correlations using postgres
@rhelmer rhelmer merged commit dfffb54 into mozilla-services:master Mar 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants