Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

[Otimização] Otimizar o comando load_affiliations #187

Open
4 tasks
arielbello opened this issue Aug 1, 2022 · 0 comments
Open
4 tasks

[Otimização] Otimizar o comando load_affiliations #187

arielbello opened this issue Aug 1, 2022 · 0 comments
Assignees

Comments

@arielbello
Copy link
Collaborator

arielbello commented Aug 1, 2022

Foi verificado na issue #185 que o comando load_affiliations pode ser otimizado usando Subqueries na criação dos políticos

Critérios de aceite:

  • Refatorar o comando para utilizar Subqueries ao invés de uma query para cada Político a ser criado
  • Rodar testes de performance para garantir que o comando está rodando mais rápido
  • PR mergeada no master
  • Carregar o csv diretamente para o banco (opcional)
@arielbello arielbello self-assigned this Aug 1, 2022
@arielbello arielbello changed the title [Performance] Otimizar o comando load_affiliations [Otimização] Otimizar o comando load_affiliations Aug 1, 2022
@arielbello arielbello added this to the Otimização de comandos milestone Aug 1, 2022
@arielbello arielbello moved this from 🔖 A fazer to 📋 Backlog in Perfil Político 2022 Aug 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant