Skip to content

Remove unnecessary timestamp columns from models#219

Open
danielkza wants to merge 1 commit intomasterfrom
remove_timestamps
Open

Remove unnecessary timestamp columns from models#219
danielkza wants to merge 1 commit intomasterfrom
remove_timestamps

Conversation

@danielkza
Copy link
Copy Markdown
Contributor

Remove the timestamp columns from the KalibroModule, ModuleResult,
MetricResult and ProcessingTime models. They were not used by anything,
but needed to be populated and inserted in millions of records.

This will require a KalibroClient change in the future.

@rafamanzo
Copy link
Copy Markdown
Member

Have you tested how does this affect kalibro_client?

@danielkza
Copy link
Copy Markdown
Contributor Author

It will be necessary to change the processor entities to not expect those columns. We just need to make sure we release a new kalibro_client stable version together with the next stable processor version.

Remove the timestamp columns from the KalibroModule, ModuleResult,
MetricResult and ProcessingTime models. They were not used by anything,
but needed to be populated and inserted in millions of records.

This will require a KalibroClient change in the future.
@danielkza danielkza force-pushed the remove_timestamps branch from 5a3fc51 to 02b33ac Compare July 26, 2016 19:10
@danielkza
Copy link
Copy Markdown
Contributor Author

Rebased to master. Ping @mezuro/core.

@rafamanzo
Copy link
Copy Markdown
Member

I'm waiting for #225 to get merged before this, so the release of 1.3.3 is easier.

@diegoamc
Copy link
Copy Markdown
Contributor

Ok for me 👍

@danielkza
Copy link
Copy Markdown
Contributor Author

This probably should go into a new major version.

@rafamanzo
Copy link
Copy Markdown
Member

A question came to me right now: do we have any reference if this has any impact on insertion time? Or select times? Or DB size in disk?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants