We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7efcff0 + f8a078d commit 520a257Copy full SHA for 520a257
1 file changed
slurm2sql.py
@@ -938,14 +938,14 @@ def infer_type(cd):
938
'JobIDnostep AS JobID, '
939
'max(User) AS User, '
940
'max(Partition) AS Partition, '
941
- 'max(JobName) AS JobName, '
+ '(SELECT s2.JobName FROM slurm AS s2 WHERE s2.JobIDnostep = slurm1.JobIDnostep AND s2.JobStep IS null LIMIT 1) AS JobName,'
942
'group_concat(SubmitLine, \'\n\') AS SubmitLines, '
943
'Account, '
944
'(SELECT State FROM allocations AS allocations2 WHERE allocations2.jobid=slurm1.JobIDnostep) AS State, '
945
#'State AS State, '
946
'NodeList, '
947
'Time, '
948
- 'TimeLimit, '
+ 'max(TimeLimit) AS TimeLimit, '
949
'min(Start) AS Start, '
950
'max(End) AS End, '
951
'max(NNodes) AS NNodes, '
0 commit comments