Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
floptical committed Jul 30, 2024
1 parent 10f5522 commit 4c8c365
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions databridge_etl_tools/db2/db2.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,18 +514,15 @@ def copy_to_enterprise(self):
enterprise_columns.remove(oid_column)
# Actually make a copy of the list and not just a pointer.
staging_columns = list(enterprise_columns)

staging_columns.append(oid_column)
staging_columns_str = ', '.join(staging_columns)

enterprise_columns.append(f"sde.next_rowid('{self.enterprise_schema}','{self.enterprise_dataset_name}')")
enterprise_columns_str = ', '.join(enterprise_columns)
else:
staging_columns = ', '.join(enterprise_columns)
enterprise_columns_str = ', '.join(enterprise_columns)
staging_columns = enterprise_columns
else:
staging_columns = ', '.join(enterprise_columns)
enterprise_columns_str = ', '.join(enterprise_columns)
staging_columns = enterprise_columns

staging_columns_str = ', '.join(staging_columns)
enterprise_columns_str = ', '.join(enterprise_columns)

self.logger.info('')
self.logger.info('enterprise_columns: ' + str(enterprise_columns_str))
Expand Down

0 comments on commit 4c8c365

Please sign in to comment.