"How QA in Data Warehouse Management Evolved"

Part 1. The past. Turning points

DWH (Data Warehouse, , -, ) , . , , . .





Tinkoff.ru . , . , . , , QA.





, :





  • ( Data Warehouse, DWH) — - , - .





  • ( ) — (VCS), , .





. , .





Figure 1. The past: manual labor ennobles
1. :

, , .





flow :





  • ;





  • ETL-;





  • QA-.





flow — 2.





, :





  • .





  • .





  • .





  • .





  • .





Figure 2. Functional roles in DWH (SyA - systems analyst, DEV - developer, QA - test engineer)
2. DWH (SyA — , DEV — , QA — )

.





ETL- — (, ), (, , , . .) .





, ( 3):





  • ;





  • .





Figure 3. Components of the ETL process
3. ETL-

:





  • SAS DIS ETL-.





  • SQL ( python) .





  • . , , .





  • ( 4) QA-.





VCS QA.





Figure 4. Sample package contents
4.

. , : - , , .





, : , . ?





, . .





. - , , — , ETL-.





, :





  • , .





  • .





5 , . QA , , , . , , , ETL-.





Figure 5. Transferring the task to the test circuit
5.

, :





  • .





  • , , .





  • — , .





  • .





  • , , .





  • .





  • — .





, , , . . .





, SAS, SAS Data Integration Studio (SAS DIS). ( , ETL-, . .) SAS DIS SAS- . Greenplum SAS. , , , «» "DWH".





. SAS DIS . SAS DIS , (, , . .) . , , , , . .





, . , . .





: , , .





— .





, , - ( , . .) .





, QA- , . - , . . .





, — . .





- , : .





, .





. QA- :





  • NULL ;





  • DDL- ;





  • ;





  • ;





  • , , .





, ( , ETL-), , . ETL- . .





, :





  • ;





  • ;





  • .





:





  • ;





  • ;





  • .





, . ?





Figure 6. Tipping points - landmark events in QA
6. — QA

, , — , .





?





QA-. - , python- — !





, (dev/test/prod), :





  • SSH- ;





  • , .





, .





— .





:





  • — , . testing done. 22:00, .





  • — , , 23:00. .





  • — , . .





, .





, , . , , — vial.





Vial

, , , . ? : , ( ) . , .





, , vial-.





— .





Vial ( «») — , . , .





Figure 7. How vial and test compare
7. vial test

, 7: preXXXXX (pre — , XXXXX — Jira) .





(Source 8) ETL-. .





Figure 8. How vial is formed
8. vial

ETL- (Target 8) :





  • , , — today.





  • — yesterday.





?





, .





ETL- . :





  • ETL- .





  • ETL-, Target(yesterday) 9, ( ETL-, ).





  • ETL- , , — Target(today).





ETL- : ( ) ( ETL- ). , , , ETL- .





ETL- , .





Figure 9. The mechanism for updating the repository in production
9.

. , , . , .





Figure 10. Principle of vial formation
10. vial

ETL- — 10. Target(yesterday)- .





ETL- .





, . , ETL- .





. Target(today)- .





, :





  • — ETL- . - , , ETL- .





  • , , .





  • , .





, : , , . , ( 11).





Figure 11. Regression
11.

vial- 12.





Figure 12. General vial concept
12. vial

vial?





-, . , , — ! , .





-, , QA .





, — , ! Live-- ?





, ETL- . , ETL- , , . , vial-, , , .





live.





Live

— , vial, ETL-. , , , ETL- , , — SQL- .





Live , QA-.





, . (test), , . (, ) .





vial, — live. , test .





?





Test

Test .





, : ETL- , , .





( ETL- ), . . , .





. python. , .





. . , .





.





, , . , .





- :





  • .





  • .





  • .





  • ( , ).





  • — test.





: , . .





, !








All Articles