Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

fix: remove _subscriptionStatus from export result field #555

Merged
merged 1 commit into from
Feb 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bulkExport/glueScripts/export-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def get_transitive_references(resource, transitive_reference_map, server_url):

# Drop fields that are not needed
print('Dropping fields that are not needed')
data_source_cleaned_dyn_frame = DropFields.apply(frame = filtered_dates_resource_dyn_frame, paths = ['documentStatus', 'lockEndTs', 'vid', '_references', '_tenantId', '_id'])
data_source_cleaned_dyn_frame = DropFields.apply(frame = filtered_dates_resource_dyn_frame, paths = ['documentStatus', 'lockEndTs', 'vid', '_references', '_tenantId', '_id', '_subscriptionStatus'])

def add_dup_resource_type(record):
record["resourceTypeDup"] = record["resourceType"]
Expand Down