Skip to content

Table summaries #555

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Table summaries #555

wants to merge 2 commits into from

Conversation

fstagni
Copy link
Contributor

@fstagni fstagni commented May 27, 2025

This PR is the pairing PR for https://github.com/DIRACGrid/DIRAC/pull/8199/files

Few things:

  • these new tables are not used in DiracX. Should they? where?
  • how to define the triggers -- I see options:
    1. with simple raw SQL
    2. using Alembic? (maybe this could be the first use case?)
  • the JobsHistorySummary table should have in the unique constraint OwnerGroup(32) and ApplicationStatus(128). It seems to me that this can't be defined in sqlalchemy. Again maybe use Alembic?

@fstagni fstagni force-pushed the table_summaries branch 4 times, most recently from dbc8ac9 to c42018f Compare June 2, 2025 14:29
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

Successfully merging this pull request may close these issues.

1 participant