Skip to content

Table summaries#555

Draft
fstagni wants to merge 2 commits intoDIRACGrid:mainfrom
fstagni:table_summaries
Draft

Table summaries#555
fstagni wants to merge 2 commits intoDIRACGrid:mainfrom
fstagni:table_summaries

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