find a way to populate the materialized views database structure on future new instances

Đang mở
#585 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
50/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
postgresql, python, sqlalchemy
Lĩnh vực
databases, testing

Hướng nghiên cứu

Start from collectoss/application/db/materialized_views.py to see how the views are defined, then find the database-backed test fixture (likely a conftest.py) that calls Base.metadata.create_all and check whether those views are created by it or only by migration/raw SQL. Read the PR #583 discussion and #577/#501 for the comparator use case. Done means the test database contains the materialized views so the comparator from #501 can be exercised in tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs-plan testing

Does Base.metadata.create_all create the materialized views from collectoss/application/db/materialized_views.py? One of the main use cases in #577 was testing the materialized view comparator from #501, so we might need those created here too.

Originally posted by @Dev10-sys in https://github.com/chaoss/CollectOSS/pull/583#discussion_r4657465555

Ngôn ngữ chính
Python
Star
18
Fork
33
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của chaoss/CollectOSS

Tất cả issue của chaoss/CollectOSS

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.