Skip to content

Commit

Permalink
Merge pull request #230 from tmaeno/master
Browse files Browse the repository at this point in the history
column name in postgres
  • Loading branch information
tmaeno authored Jul 3, 2023
2 parents 1b99d4a + 8d891d5 commit 411d9cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PandaPkgInfo.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release_version = "0.0.63"
release_version = "0.0.64"
6 changes: 5 additions & 1 deletion pandaserver/dataservice/AdderGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,11 @@ def parseXML(self):
# copy files for variable number of outputs
tmpStat = self.copyFilesForVariableNumOutputs(lfns)
if not tmpStat:
self.logger.error("failed to copy files for variable number of outputs")
err_msg = "failed to copy files for variable number of outputs"
self.logger.error(err_msg)
self.job.ddmErrorCode = pandaserver.dataservice.ErrorCode.EC_Adder
self.job.ddmErrorDiag = err_msg
self.job.jobStatus = 'failed'
return 2
# check files
lfns_set = set(lfns)
Expand Down
2 changes: 1 addition & 1 deletion pandaserver/taskbuffer/OraDBProxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -18300,7 +18300,7 @@ def copy_file_records(self, new_lfns, file_spec):
for columDesc,columVal in zip(self.cur.description,resGI):
columName = columDesc[0]
# overwrite fileID
if columName == 'FILEID':
if columName.upper() == 'FILEID':
columVal = tmpFileSpec.fileID
keyName = ':{0}'.format(columName)
varMap[keyName] = columVal
Expand Down

0 comments on commit 411d9cb

Please sign in to comment.