We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ba478e commit f8a078dCopy full SHA for f8a078d
1 file changed
slurm2sql.py
@@ -938,7 +938,7 @@ def infer_type(cd):
938
'JobIDnostep AS JobID, '
939
'max(User) AS User, '
940
'max(Partition) AS Partition, '
941
- '(SELECT s2.JobName FROM slurm AS s2 WHERE s2.JobIDnostep = slurm1.JobIDnostep AND s2.JobID = s2.JobIDnostep LIMIT 1) 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, '
0 commit comments