Validate position-date matching after the migration rewrite

Aperta
#464 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
postgresql, sql

Direzione di ricerca

Read sp_execute_data_migration around line 1390 in services/postgis/tagbase_schema.sql, then compare the copied SQL in services/postgis/tagbase_schema_tables.sql. Check the migration_position_match results against the old three correlated updates, focusing on the resulting position_date_time values in data_time_series, data_histogram_bin_data, and data_profile; done means the results match.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

tests

@renato2099

From the review of PR 437 (comment):

ideally this should have been it's own separate PR such that we can really validate that the results we are getting are consistent, I am also ok letting this part go in and coming back to it later on

sp_execute_data_migration now builds migration_position_match and updates data_time_series, data_histogram_bin_data, and data_profile from it (around line 1390 of services/postgis/tagbase_schema.sql). The old form was three correlated UPDATEs. Confirm the new match returns the same position_date_time values. The same SQL is copied in services/postgis/tagbase_schema_tables.sql.

Lingua principale
Python
Stelle
7
Fork
1
Merge medio
3g 18h
PR unite (30g)
25

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tagbase/tagbase-server

Tutte le issue di tagbase/tagbase-server

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.