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

[all] unique constraint na všechny tabulky #128

Open
1 of 19 tasks
kokes opened this issue Aug 3, 2021 · 0 comments
Open
1 of 19 tasks

[all] unique constraint na všechny tabulky #128

kokes opened this issue Aug 3, 2021 · 0 comments

Comments

@kokes
Copy link
Owner

kokes commented Aug 3, 2021

Měli jsme tu nepříjemnej bug s PSP2013 (#99), kde jsme načítali všechna data dvakrát, což dělalo paseku zejm. u JOINů. Samozřejmě to řeší DBA 101 věc - unique constraints (a/nebo primary keys). U voleb už to máme hotový, teď ještě všude jinde.

Na implementaci stačí dropnout všechny tabule a nahrát znova (a zakomentovat rmtree a module call v main.py, abychom CSV konvertili jen jednou).

  • ares
  • cedr
  • cssz
  • czechinvest
  • datovky
  • dotinfo
  • eufondy
  • iissp
  • justice
  • psp
  • raw
  • smlouvy
  • steno
  • szif
  • udhpsh
  • upv
  • volby
  • wikidata
  • zakazky
@kokes kokes pinned this issue Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant