From 9d5f74253ddd27ed6e082db270f2be1daaf965e8 Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Wed, 23 Oct 2024 15:10:23 +0300 Subject: [PATCH] slurm2sql: eff view, don't get None as partition (select whatever is there) --- slurm2sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slurm2sql.py b/slurm2sql.py index d0e3920..686ca99 100644 --- a/slurm2sql.py +++ b/slurm2sql.py @@ -864,7 +864,7 @@ def infer_type(cd): db.execute('CREATE VIEW IF NOT EXISTS eff AS select ' 'JobIDnostep AS JobID, ' 'max(User) AS User, ' - 'Partition, ' + 'max(Partition), ' 'Account, ' 'State, ' 'Time, '